From ce45c7a2a898cf76dff78140cd25da2a34760ceb Mon Sep 17 00:00:00 2001 From: Marcel Hlopko Date: Fri, 22 Oct 2021 23:53:14 +0200 Subject: [PATCH] Regenerate //wasm_bindgen/raze for #591 --- wasm_bindgen/raze/BUILD.bazel | 200 +++++++++++++++++- .../remote/BUILD.aho-corasick-0.7.18.bazel | 4 +- .../raze/remote/BUILD.anyhow-1.0.43.bazel | 4 +- .../raze/remote/BUILD.ascii-1.0.0.bazel | 4 +- .../raze/remote/BUILD.assert_cmd-1.0.8.bazel | 4 +- .../raze/remote/BUILD.atty-0.2.14.bazel | 12 +- .../raze/remote/BUILD.autocfg-1.0.1.bazel | 4 +- .../raze/remote/BUILD.base-x-0.2.8.bazel | 4 +- .../raze/remote/BUILD.base64-0.13.0.bazel | 4 +- .../raze/remote/BUILD.base64-0.9.3.bazel | 4 +- .../raze/remote/BUILD.bitflags-1.3.2.bazel | 4 +- .../raze/remote/BUILD.bstr-0.2.16.bazel | 4 +- .../raze/remote/BUILD.buf_redux-0.8.4.bazel | 32 +-- .../raze/remote/BUILD.bumpalo-3.7.0.bazel | 4 +- .../raze/remote/BUILD.byteorder-1.4.3.bazel | 4 +- .../raze/remote/BUILD.cc-1.0.69.bazel | 4 +- .../raze/remote/BUILD.cfg-if-1.0.0.bazel | 4 +- .../raze/remote/BUILD.chrono-0.4.19.bazel | 11 +- .../remote/BUILD.chunked_transfer-1.4.0.bazel | 4 +- .../raze/remote/BUILD.const_fn-0.4.8.bazel | 6 +- .../BUILD.crossbeam-channel-0.5.1.bazel | 4 +- .../remote/BUILD.crossbeam-deque-0.8.1.bazel | 4 +- .../remote/BUILD.crossbeam-epoch-0.9.5.bazel | 4 +- .../remote/BUILD.crossbeam-utils-0.8.5.bazel | 4 +- .../raze/remote/BUILD.curl-0.4.38.bazel | 12 +- .../BUILD.curl-sys-0.4.45+curl-7.78.0.bazel | 8 +- .../raze/remote/BUILD.diff-0.1.12.bazel | 4 +- .../raze/remote/BUILD.difference-2.0.0.bazel | 4 +- .../raze/remote/BUILD.difflib-0.4.0.bazel | 4 +- .../raze/remote/BUILD.discard-1.0.4.bazel | 4 +- .../raze/remote/BUILD.doc-comment-0.3.3.bazel | 4 +- .../raze/remote/BUILD.docopt-1.1.1.bazel | 4 +- .../raze/remote/BUILD.either-1.6.1.bazel | 4 +- .../raze/remote/BUILD.env_logger-0.8.4.bazel | 4 +- .../raze/remote/BUILD.filetime-0.2.15.bazel | 12 +- .../raze/remote/BUILD.float-cmp-0.8.0.bazel | 4 +- .../remote/BUILD.form_urlencoded-1.0.1.bazel | 4 +- .../raze/remote/BUILD.getrandom-0.2.3.bazel | 19 +- .../raze/remote/BUILD.heck-0.3.3.bazel | 4 +- .../raze/remote/BUILD.hermit-abi-0.1.19.bazel | 4 +- .../raze/remote/BUILD.httparse-1.5.0.bazel | 4 +- .../raze/remote/BUILD.humantime-2.1.0.bazel | 4 +- .../raze/remote/BUILD.id-arena-2.2.1.bazel | 4 +- .../raze/remote/BUILD.idna-0.2.3.bazel | 4 +- .../raze/remote/BUILD.itertools-0.10.1.bazel | 4 +- .../raze/remote/BUILD.itoa-0.4.7.bazel | 4 +- .../raze/remote/BUILD.lazy_static-1.4.0.bazel | 4 +- .../raze/remote/BUILD.leb128-0.2.4.bazel | 4 +- .../raze/remote/BUILD.libc-0.2.99.bazel | 4 +- .../raze/remote/BUILD.libz-sys-1.1.3.bazel | 4 +- .../raze/remote/BUILD.log-0.4.14.bazel | 4 +- .../raze/remote/BUILD.matches-0.1.9.bazel | 4 +- .../raze/remote/BUILD.memchr-2.4.1.bazel | 4 +- .../raze/remote/BUILD.memoffset-0.6.4.bazel | 4 +- .../raze/remote/BUILD.mime-0.3.16.bazel | 4 +- .../raze/remote/BUILD.mime_guess-2.0.3.bazel | 4 +- .../raze/remote/BUILD.multipart-0.18.0.bazel | 4 +- .../BUILD.normalize-line-endings-0.3.0.bazel | 4 +- .../remote/BUILD.num-integer-0.1.44.bazel | 4 +- .../raze/remote/BUILD.num-traits-0.2.14.bazel | 4 +- .../raze/remote/BUILD.num_cpus-1.13.0.bazel | 4 +- .../remote/BUILD.openssl-probe-0.1.4.bazel | 4 +- .../remote/BUILD.openssl-sys-0.9.66.bazel | 4 +- .../remote/BUILD.percent-encoding-2.1.0.bazel | 4 +- .../raze/remote/BUILD.pkg-config-0.3.19.bazel | 4 +- .../raze/remote/BUILD.ppv-lite86-0.2.10.bazel | 4 +- .../raze/remote/BUILD.predicates-1.0.8.bazel | 4 +- .../raze/remote/BUILD.predicates-2.0.2.bazel | 4 +- .../remote/BUILD.predicates-core-1.0.2.bazel | 4 +- .../remote/BUILD.predicates-tree-1.0.3.bazel | 4 +- .../remote/BUILD.proc-macro-hack-0.5.19.bazel | 6 +- .../remote/BUILD.proc-macro2-1.0.28.bazel | 4 +- .../raze/remote/BUILD.quick-error-1.2.3.bazel | 4 +- .../raze/remote/BUILD.quote-1.0.9.bazel | 4 +- .../raze/remote/BUILD.rand-0.8.4.bazel | 40 +++- .../raze/remote/BUILD.rand_chacha-0.3.1.bazel | 4 +- .../raze/remote/BUILD.rand_core-0.6.3.bazel | 4 +- .../raze/remote/BUILD.rand_hc-0.3.1.bazel | 4 +- .../raze/remote/BUILD.rayon-1.5.1.bazel | 4 +- .../raze/remote/BUILD.rayon-core-1.9.1.bazel | 54 +---- .../remote/BUILD.redox_syscall-0.2.10.bazel | 4 +- .../raze/remote/BUILD.regex-1.5.4.bazel | 4 +- .../remote/BUILD.regex-automata-0.1.10.bazel | 4 +- .../remote/BUILD.regex-syntax-0.6.25.bazel | 4 +- .../remote/BUILD.remove_dir_all-0.5.3.bazel | 4 +- .../raze/remote/BUILD.rouille-3.2.1.bazel | 4 +- .../remote/BUILD.rustc-demangle-0.1.20.bazel | 4 +- .../remote/BUILD.rustc_version-0.2.3.bazel | 4 +- .../raze/remote/BUILD.ryu-1.0.5.bazel | 4 +- .../raze/remote/BUILD.safemem-0.3.3.bazel | 4 +- .../raze/remote/BUILD.schannel-0.1.19.bazel | 4 +- .../raze/remote/BUILD.scopeguard-1.1.0.bazel | 4 +- .../raze/remote/BUILD.semver-0.9.0.bazel | 4 +- .../remote/BUILD.semver-parser-0.7.0.bazel | 4 +- .../raze/remote/BUILD.serde-1.0.127.bazel | 4 +- .../remote/BUILD.serde_derive-1.0.127.bazel | 6 +- .../raze/remote/BUILD.serde_json-1.0.66.bazel | 4 +- .../raze/remote/BUILD.sha1-0.6.0.bazel | 4 +- .../raze/remote/BUILD.socket2-0.4.1.bazel | 12 +- .../raze/remote/BUILD.standback-0.2.17.bazel | 4 +- .../raze/remote/BUILD.stdweb-0.4.20.bazel | 4 +- .../remote/BUILD.stdweb-derive-0.5.3.bazel | 6 +- .../BUILD.stdweb-internal-macros-0.2.9.bazel | 6 +- .../BUILD.stdweb-internal-runtime-0.1.5.bazel | 4 +- .../raze/remote/BUILD.strsim-0.10.0.bazel | 4 +- .../raze/remote/BUILD.syn-1.0.74.bazel | 4 +- .../raze/remote/BUILD.tempfile-3.2.0.bazel | 12 +- .../raze/remote/BUILD.termcolor-1.1.2.bazel | 4 +- .../raze/remote/BUILD.threadpool-1.8.1.bazel | 4 +- .../raze/remote/BUILD.time-0.1.43.bazel | 4 +- .../raze/remote/BUILD.time-0.2.27.bazel | 20 +- .../raze/remote/BUILD.time-macros-0.1.1.bazel | 4 +- .../remote/BUILD.time-macros-impl-0.1.2.bazel | 6 +- .../raze/remote/BUILD.tiny_http-0.8.2.bazel | 4 +- .../raze/remote/BUILD.tinyvec-1.3.1.bazel | 4 +- .../remote/BUILD.tinyvec_macros-0.1.0.bazel | 4 +- .../raze/remote/BUILD.treeline-0.1.0.bazel | 4 +- .../raze/remote/BUILD.twoway-0.1.8.bazel | 4 +- .../raze/remote/BUILD.unicase-2.6.0.bazel | 4 +- .../remote/BUILD.unicode-bidi-0.3.6.bazel | 4 +- .../BUILD.unicode-normalization-0.1.19.bazel | 4 +- .../BUILD.unicode-segmentation-1.8.0.bazel | 4 +- .../raze/remote/BUILD.unicode-xid-0.2.2.bazel | 4 +- .../raze/remote/BUILD.url-2.2.2.bazel | 4 +- .../raze/remote/BUILD.vcpkg-0.2.15.bazel | 4 +- .../remote/BUILD.version_check-0.9.3.bazel | 4 +- .../remote/BUILD.wait-timeout-0.2.0.bazel | 36 ++-- .../raze/remote/BUILD.walrus-0.19.0.bazel | 4 +- .../remote/BUILD.walrus-macro-0.19.0.bazel | 6 +- ...D.wasi-0.10.2+wasi-snapshot-preview1.bazel | 4 +- .../remote/BUILD.wasm-bindgen-0.2.76.bazel | 26 +-- .../BUILD.wasm-bindgen-backend-0.2.76.bazel | 4 +- .../BUILD.wasm-bindgen-cli-0.2.76.bazel | 3 +- ...UILD.wasm-bindgen-cli-support-0.2.76.bazel | 4 +- ....wasm-bindgen-externref-xform-0.2.76.bazel | 4 +- .../BUILD.wasm-bindgen-macro-0.2.76.bazel | 6 +- ...LD.wasm-bindgen-macro-support-0.2.76.bazel | 4 +- ...asm-bindgen-multi-value-xform-0.2.76.bazel | 4 +- .../BUILD.wasm-bindgen-shared-0.2.76.bazel | 4 +- ...LD.wasm-bindgen-threads-xform-0.2.76.bazel | 4 +- ...wasm-bindgen-wasm-conventions-0.2.76.bazel | 4 +- ...wasm-bindgen-wasm-interpreter-0.2.76.bazel | 4 +- .../raze/remote/BUILD.wasmparser-0.59.0.bazel | 4 +- .../raze/remote/BUILD.wasmparser-0.77.0.bazel | 4 +- .../raze/remote/BUILD.wasmparser-0.80.0.bazel | 4 +- .../remote/BUILD.wasmprinter-0.2.28.bazel | 4 +- .../raze/remote/BUILD.wast-21.0.0.bazel | 4 +- .../raze/remote/BUILD.winapi-0.3.9.bazel | 4 +- ...ILD.winapi-i686-pc-windows-gnu-0.4.0.bazel | 4 +- .../raze/remote/BUILD.winapi-util-0.1.5.bazel | 4 +- ...D.winapi-x86_64-pc-windows-gnu-0.4.0.bazel | 4 +- .../raze/remote/BUILD.wit-parser-0.2.0.bazel | 4 +- .../raze/remote/BUILD.wit-printer-0.2.0.bazel | 4 +- .../BUILD.wit-schema-version-0.1.0.bazel | 4 +- .../raze/remote/BUILD.wit-text-0.8.0.bazel | 4 +- .../remote/BUILD.wit-validator-0.2.1.bazel | 4 +- .../raze/remote/BUILD.wit-walrus-0.6.0.bazel | 4 +- .../raze/remote/BUILD.wit-writer-0.2.0.bazel | 4 +- 158 files changed, 606 insertions(+), 487 deletions(-) diff --git a/wasm_bindgen/raze/BUILD.bazel b/wasm_bindgen/raze/BUILD.bazel index db129ea5ef..6f818b8ae5 100644 --- a/wasm_bindgen/raze/BUILD.bazel +++ b/wasm_bindgen/raze/BUILD.bazel @@ -12,6 +12,141 @@ licenses([ ]) # Aliased targets +alias( + name = "anyhow", + actual = "@rules_rust_wasm_bindgen__anyhow__1_0_43//:anyhow", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "assert_cmd", + actual = "@rules_rust_wasm_bindgen__assert_cmd__1_0_8//:assert_cmd", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "curl", + actual = "@rules_rust_wasm_bindgen__curl__0_4_38//:curl", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "diff", + actual = "@rules_rust_wasm_bindgen__diff__0_1_12//:diff", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "docopt", + actual = "@rules_rust_wasm_bindgen__docopt__1_1_1//:docopt", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "env_logger", + actual = "@rules_rust_wasm_bindgen__env_logger__0_8_4//:env_logger", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "log", + actual = "@rules_rust_wasm_bindgen__log__0_4_14//:log", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "predicates", + actual = "@rules_rust_wasm_bindgen__predicates__1_0_8//:predicates", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "rayon", + actual = "@rules_rust_wasm_bindgen__rayon__1_5_1//:rayon", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "rouille", + actual = "@rules_rust_wasm_bindgen__rouille__3_2_1//:rouille", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "serde", + actual = "@rules_rust_wasm_bindgen__serde__1_0_127//:serde", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "serde_derive", + actual = "@rules_rust_wasm_bindgen__serde_derive__1_0_127//:serde_derive", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "serde_json", + actual = "@rules_rust_wasm_bindgen__serde_json__1_0_66//:serde_json", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "tempfile", + actual = "@rules_rust_wasm_bindgen__tempfile__3_2_0//:tempfile", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "walrus", + actual = "@rules_rust_wasm_bindgen__walrus__0_19_0//:walrus", + tags = [ + "cargo-raze", + "manual", + ], +) + alias( name = "wasm_bindgen", actual = "@rules_rust_wasm_bindgen__wasm_bindgen__0_2_76//:wasm_bindgen", @@ -22,8 +157,6 @@ alias( ) alias( - # Extra aliased target, from raze configuration - # N.B.: The exact form of this is subject to change. name = "cargo_bin_wasm_bindgen", actual = "@rules_rust_wasm_bindgen__wasm_bindgen_cli__0_2_76//:cargo_bin_wasm_bindgen", tags = [ @@ -32,6 +165,69 @@ alias( ], ) +alias( + name = "wasm_bindgen_cli", + actual = "@rules_rust_wasm_bindgen__wasm_bindgen_cli__0_2_76//:wasm_bindgen_cli", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "wasm_bindgen_cli_support", + actual = "@rules_rust_wasm_bindgen__wasm_bindgen_cli_support__0_2_76//:wasm_bindgen_cli_support", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "wasm_bindgen_shared", + actual = "@rules_rust_wasm_bindgen__wasm_bindgen_shared__0_2_76//:wasm_bindgen_shared", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "wit_printer", + actual = "@rules_rust_wasm_bindgen__wit_printer__0_2_0//:wit_printer", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "wit_text", + actual = "@rules_rust_wasm_bindgen__wit_text__0_8_0//:wit_text", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "wit_validator", + actual = "@rules_rust_wasm_bindgen__wit_validator__0_2_1//:wit_validator", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "wit_walrus", + actual = "@rules_rust_wasm_bindgen__wit_walrus__0_6_0//:wit_walrus", + tags = [ + "cargo-raze", + "manual", + ], +) + # Export file for Stardoc support exports_files( [ diff --git a/wasm_bindgen/raze/remote/BUILD.aho-corasick-0.7.18.bazel b/wasm_bindgen/raze/remote/BUILD.aho-corasick-0.7.18.bazel index 075c658f3c..9dea26ca57 100644 --- a/wasm_bindgen/raze/remote/BUILD.aho-corasick-0.7.18.bazel +++ b/wasm_bindgen/raze/remote/BUILD.aho-corasick-0.7.18.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -38,7 +39,6 @@ rust_library( "std", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.anyhow-1.0.43.bazel b/wasm_bindgen/raze/remote/BUILD.anyhow-1.0.43.bazel index ea74dba5d8..fe8788e92f 100644 --- a/wasm_bindgen/raze/remote/BUILD.anyhow-1.0.43.bazel +++ b/wasm_bindgen/raze/remote/BUILD.anyhow-1.0.43.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -69,7 +70,6 @@ rust_library( "std", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.ascii-1.0.0.bazel b/wasm_bindgen/raze/remote/BUILD.ascii-1.0.0.bazel index 82e065f55e..3d4c9a797b 100644 --- a/wasm_bindgen/raze/remote/BUILD.ascii-1.0.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.ascii-1.0.0.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -38,7 +39,6 @@ rust_library( "std", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.assert_cmd-1.0.8.bazel b/wasm_bindgen/raze/remote/BUILD.assert_cmd-1.0.8.bazel index 1d6c9192b6..3ed66f9af2 100644 --- a/wasm_bindgen/raze/remote/BUILD.assert_cmd-1.0.8.bazel +++ b/wasm_bindgen/raze/remote/BUILD.assert_cmd-1.0.8.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -68,7 +69,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ 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 634d072de3..958b19b857 100644 --- a/wasm_bindgen/raze/remote/BUILD.atty-0.2.14.bazel +++ b/wasm_bindgen/raze/remote/BUILD.atty-0.2.14.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -40,7 +41,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ @@ -56,22 +56,22 @@ rust_library( ] + selects.with_or({ # cfg(unix) ( + "@rules_rust//rust/platform:i686-apple-darwin", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-apple-darwin", + "@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_99//:libc", ], 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 63795c47fa..867f1ef842 100644 --- a/wasm_bindgen/raze/remote/BUILD.autocfg-1.0.1.bazel +++ b/wasm_bindgen/raze/remote/BUILD.autocfg-1.0.1.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -44,7 +45,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.base-x-0.2.8.bazel b/wasm_bindgen/raze/remote/BUILD.base-x-0.2.8.bazel index 0b34c0a435..bdfff01568 100644 --- a/wasm_bindgen/raze/remote/BUILD.base-x-0.2.8.bazel +++ b/wasm_bindgen/raze/remote/BUILD.base-x-0.2.8.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -40,7 +41,6 @@ rust_library( "std", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ 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 d86a518058..3d3ee3442d 100644 --- a/wasm_bindgen/raze/remote/BUILD.base64-0.13.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.base64-0.13.0.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -44,7 +45,6 @@ rust_library( "std", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ 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 4908f2f2c0..a783db79fe 100644 --- a/wasm_bindgen/raze/remote/BUILD.base64-0.9.3.bazel +++ b/wasm_bindgen/raze/remote/BUILD.base64-0.9.3.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -40,7 +41,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.bitflags-1.3.2.bazel b/wasm_bindgen/raze/remote/BUILD.bitflags-1.3.2.bazel index ccc569c073..18f2842a01 100644 --- a/wasm_bindgen/raze/remote/BUILD.bitflags-1.3.2.bazel +++ b/wasm_bindgen/raze/remote/BUILD.bitflags-1.3.2.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -37,7 +38,6 @@ rust_library( "default", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.bstr-0.2.16.bazel b/wasm_bindgen/raze/remote/BUILD.bstr-0.2.16.bazel index 66d6e2adc9..5fd7d5429d 100644 --- a/wasm_bindgen/raze/remote/BUILD.bstr-0.2.16.bazel +++ b/wasm_bindgen/raze/remote/BUILD.bstr-0.2.16.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -57,7 +58,6 @@ rust_library( "unicode", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ 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 2da5109146..a8c0ed7455 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 @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -33,12 +34,9 @@ licenses([ rust_library( name = "buf_redux", srcs = glob(["**/*.rs"]), - aliases = { - }, crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ @@ -53,29 +51,5 @@ rust_library( deps = [ "@rules_rust_wasm_bindgen__memchr__2_4_1//:memchr", "@rules_rust_wasm_bindgen__safemem__0_3_3//:safemem", - ] + selects.with_or({ - # cfg(any(unix, windows)) - ( - "@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.7.0.bazel b/wasm_bindgen/raze/remote/BUILD.bumpalo-3.7.0.bazel index 662c0b4170..9e4163a6f7 100644 --- a/wasm_bindgen/raze/remote/BUILD.bumpalo-3.7.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.bumpalo-3.7.0.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -39,7 +40,6 @@ rust_library( "default", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.byteorder-1.4.3.bazel b/wasm_bindgen/raze/remote/BUILD.byteorder-1.4.3.bazel index cc3027ba81..9f319f2aaa 100644 --- a/wasm_bindgen/raze/remote/BUILD.byteorder-1.4.3.bazel +++ b/wasm_bindgen/raze/remote/BUILD.byteorder-1.4.3.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -40,7 +41,6 @@ rust_library( "std", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.cc-1.0.69.bazel b/wasm_bindgen/raze/remote/BUILD.cc-1.0.69.bazel index 9a025f3bb3..c907723c63 100644 --- a/wasm_bindgen/raze/remote/BUILD.cc-1.0.69.bazel +++ b/wasm_bindgen/raze/remote/BUILD.cc-1.0.69.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -60,7 +61,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ 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 9a12e54689..e4ad04f449 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 @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -36,7 +37,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ 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 15d748c841..2806e86514 100644 --- a/wasm_bindgen/raze/remote/BUILD.chrono-0.4.19.bazel +++ b/wasm_bindgen/raze/remote/BUILD.chrono-0.4.19.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -49,7 +50,6 @@ rust_library( "winapi", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ @@ -67,13 +67,6 @@ rust_library( "@rules_rust_wasm_bindgen__num_traits__0_2_14//:num_traits", "@rules_rust_wasm_bindgen__time__0_1_43//:time", ] + selects.with_or({ - # cfg(all(target_arch = "wasm32", not(any(target_os = "emscripten", target_os = "wasi")))) - ( - "@rules_rust//rust/platform:wasm32-unknown-unknown", - ): [ - ], - "//conditions:default": [], - }) + selects.with_or({ # cfg(windows) ( "@rules_rust//rust/platform:i686-pc-windows-msvc", diff --git a/wasm_bindgen/raze/remote/BUILD.chunked_transfer-1.4.0.bazel b/wasm_bindgen/raze/remote/BUILD.chunked_transfer-1.4.0.bazel index 0b8143fb2e..b20b6f7fb7 100644 --- a/wasm_bindgen/raze/remote/BUILD.chunked_transfer-1.4.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.chunked_transfer-1.4.0.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -38,7 +39,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.const_fn-0.4.8.bazel b/wasm_bindgen/raze/remote/BUILD.const_fn-0.4.8.bazel index 9270cd3d77..ad4b350d42 100644 --- a/wasm_bindgen/raze/remote/BUILD.const_fn-0.4.8.bazel +++ b/wasm_bindgen/raze/remote/BUILD.const_fn-0.4.8.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -59,13 +60,12 @@ cargo_build_script( ], ) -rust_library( +rust_proc_macro( name = "const_fn", srcs = glob(["**/*.rs"]), crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "proc-macro", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.crossbeam-channel-0.5.1.bazel b/wasm_bindgen/raze/remote/BUILD.crossbeam-channel-0.5.1.bazel index 7d7ce7dd4e..0462551e8c 100644 --- a/wasm_bindgen/raze/remote/BUILD.crossbeam-channel-0.5.1.bazel +++ b/wasm_bindgen/raze/remote/BUILD.crossbeam-channel-0.5.1.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -47,7 +48,6 @@ rust_library( "std", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.crossbeam-deque-0.8.1.bazel b/wasm_bindgen/raze/remote/BUILD.crossbeam-deque-0.8.1.bazel index ad65e55218..45ae4b4c28 100644 --- a/wasm_bindgen/raze/remote/BUILD.crossbeam-deque-0.8.1.bazel +++ b/wasm_bindgen/raze/remote/BUILD.crossbeam-deque-0.8.1.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -40,7 +41,6 @@ rust_library( "std", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.crossbeam-epoch-0.9.5.bazel b/wasm_bindgen/raze/remote/BUILD.crossbeam-epoch-0.9.5.bazel index c25b870b54..9407fd07c3 100644 --- a/wasm_bindgen/raze/remote/BUILD.crossbeam-epoch-0.9.5.bazel +++ b/wasm_bindgen/raze/remote/BUILD.crossbeam-epoch-0.9.5.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -79,7 +80,6 @@ rust_library( "std", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.crossbeam-utils-0.8.5.bazel b/wasm_bindgen/raze/remote/BUILD.crossbeam-utils-0.8.5.bazel index 44daccf409..716dcf0177 100644 --- a/wasm_bindgen/raze/remote/BUILD.crossbeam-utils-0.8.5.bazel +++ b/wasm_bindgen/raze/remote/BUILD.crossbeam-utils-0.8.5.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -73,7 +74,6 @@ rust_library( "std", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.curl-0.4.38.bazel b/wasm_bindgen/raze/remote/BUILD.curl-0.4.38.bazel index c045866302..8cfe78c67d 100644 --- a/wasm_bindgen/raze/remote/BUILD.curl-0.4.38.bazel +++ b/wasm_bindgen/raze/remote/BUILD.curl-0.4.38.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -64,19 +65,19 @@ cargo_build_script( ] + selects.with_or({ # cfg(all(unix, not(target_os = "macos"))) ( + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@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_66//:openssl_sys", ], @@ -108,7 +109,6 @@ rust_library( "ssl", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ @@ -128,19 +128,19 @@ rust_library( ] + selects.with_or({ # cfg(all(unix, not(target_os = "macos"))) ( + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@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_4//:openssl_probe", "@rules_rust_wasm_bindgen__openssl_sys__0_9_66//:openssl_sys", diff --git a/wasm_bindgen/raze/remote/BUILD.curl-sys-0.4.45+curl-7.78.0.bazel b/wasm_bindgen/raze/remote/BUILD.curl-sys-0.4.45+curl-7.78.0.bazel index 2e9dcbdfdc..dc90008532 100644 --- a/wasm_bindgen/raze/remote/BUILD.curl-sys-0.4.45+curl-7.78.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.curl-sys-0.4.45+curl-7.78.0.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -42,7 +43,6 @@ rust_library( "ssl", ], crate_root = "lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ @@ -60,19 +60,19 @@ rust_library( ] + selects.with_or({ # cfg(all(unix, not(target_os = "macos"))) ( + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@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_66//:openssl_sys", ], 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 ce4c839f9d..69044d0f72 100644 --- a/wasm_bindgen/raze/remote/BUILD.diff-0.1.12.bazel +++ b/wasm_bindgen/raze/remote/BUILD.diff-0.1.12.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -40,7 +41,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ 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 f406c511cd..a03ad9b1fc 100644 --- a/wasm_bindgen/raze/remote/BUILD.difference-2.0.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.difference-2.0.0.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -68,7 +69,6 @@ rust_library( "default", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.difflib-0.4.0.bazel b/wasm_bindgen/raze/remote/BUILD.difflib-0.4.0.bazel index eb16ad2032..c7bd8e37e9 100644 --- a/wasm_bindgen/raze/remote/BUILD.difflib-0.4.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.difflib-0.4.0.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -38,7 +39,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.discard-1.0.4.bazel b/wasm_bindgen/raze/remote/BUILD.discard-1.0.4.bazel index d33b393b8a..b7f77aacaa 100644 --- a/wasm_bindgen/raze/remote/BUILD.discard-1.0.4.bazel +++ b/wasm_bindgen/raze/remote/BUILD.discard-1.0.4.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -36,7 +37,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ 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 14deec0d95..7449ccb1e1 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 @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -65,7 +66,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.docopt-1.1.1.bazel b/wasm_bindgen/raze/remote/BUILD.docopt-1.1.1.bazel index 8fc2928e70..5564fb6744 100644 --- a/wasm_bindgen/raze/remote/BUILD.docopt-1.1.1.bazel +++ b/wasm_bindgen/raze/remote/BUILD.docopt-1.1.1.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -76,7 +77,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ 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 4faa23bb62..4d704c6be8 100644 --- a/wasm_bindgen/raze/remote/BUILD.either-1.6.1.bazel +++ b/wasm_bindgen/raze/remote/BUILD.either-1.6.1.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -36,7 +37,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.env_logger-0.8.4.bazel b/wasm_bindgen/raze/remote/BUILD.env_logger-0.8.4.bazel index f64efa31d5..d75f156a48 100644 --- a/wasm_bindgen/raze/remote/BUILD.env_logger-0.8.4.bazel +++ b/wasm_bindgen/raze/remote/BUILD.env_logger-0.8.4.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -41,7 +42,6 @@ rust_library( "termcolor", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.filetime-0.2.15.bazel b/wasm_bindgen/raze/remote/BUILD.filetime-0.2.15.bazel index 5e58ece524..34e47a7558 100644 --- a/wasm_bindgen/raze/remote/BUILD.filetime-0.2.15.bazel +++ b/wasm_bindgen/raze/remote/BUILD.filetime-0.2.15.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -38,7 +39,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ @@ -55,22 +55,22 @@ rust_library( ] + selects.with_or({ # cfg(unix) ( + "@rules_rust//rust/platform:i686-apple-darwin", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-apple-darwin", + "@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_99//:libc", ], 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 ad42dd7cbd..3792860425 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 @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -39,7 +40,6 @@ rust_library( "ratio", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.form_urlencoded-1.0.1.bazel b/wasm_bindgen/raze/remote/BUILD.form_urlencoded-1.0.1.bazel index a3207d4706..5b7860af99 100644 --- a/wasm_bindgen/raze/remote/BUILD.form_urlencoded-1.0.1.bazel +++ b/wasm_bindgen/raze/remote/BUILD.form_urlencoded-1.0.1.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -36,7 +37,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.getrandom-0.2.3.bazel b/wasm_bindgen/raze/remote/BUILD.getrandom-0.2.3.bazel index 198c3be8ca..1079a618a3 100644 --- a/wasm_bindgen/raze/remote/BUILD.getrandom-0.2.3.bazel +++ b/wasm_bindgen/raze/remote/BUILD.getrandom-0.2.3.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -41,7 +42,6 @@ rust_library( "std", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ @@ -56,13 +56,6 @@ rust_library( deps = [ "@rules_rust_wasm_bindgen__cfg_if__1_0_0//:cfg_if", ] + selects.with_or({ - # cfg(all(target_arch = "wasm32", target_os = "unknown")) - ( - "@rules_rust//rust/platform:wasm32-unknown-unknown", - ): [ - ], - "//conditions:default": [], - }) + selects.with_or({ # cfg(target_os = "wasi") ( "@rules_rust//rust/platform:wasm32-wasi", @@ -73,22 +66,22 @@ rust_library( }) + selects.with_or({ # cfg(unix) ( + "@rules_rust//rust/platform:i686-apple-darwin", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-apple-darwin", + "@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_99//:libc", ], diff --git a/wasm_bindgen/raze/remote/BUILD.heck-0.3.3.bazel b/wasm_bindgen/raze/remote/BUILD.heck-0.3.3.bazel index eab816f9ce..29ce6680c9 100644 --- a/wasm_bindgen/raze/remote/BUILD.heck-0.3.3.bazel +++ b/wasm_bindgen/raze/remote/BUILD.heck-0.3.3.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -36,7 +37,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.hermit-abi-0.1.19.bazel b/wasm_bindgen/raze/remote/BUILD.hermit-abi-0.1.19.bazel index 39a33badb2..22aaa4bafa 100644 --- a/wasm_bindgen/raze/remote/BUILD.hermit-abi-0.1.19.bazel +++ b/wasm_bindgen/raze/remote/BUILD.hermit-abi-0.1.19.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -37,7 +38,6 @@ rust_library( "default", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.httparse-1.5.0.bazel b/wasm_bindgen/raze/remote/BUILD.httparse-1.5.0.bazel index 4be6778c07..0a041ca433 100644 --- a/wasm_bindgen/raze/remote/BUILD.httparse-1.5.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.httparse-1.5.0.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -71,7 +72,6 @@ rust_library( "std", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.humantime-2.1.0.bazel b/wasm_bindgen/raze/remote/BUILD.humantime-2.1.0.bazel index 19da1fef5c..2ed8303894 100644 --- a/wasm_bindgen/raze/remote/BUILD.humantime-2.1.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.humantime-2.1.0.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -40,7 +41,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ 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 68b6868577..d3cf8e70fb 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 @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -39,7 +40,6 @@ rust_library( "std", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.idna-0.2.3.bazel b/wasm_bindgen/raze/remote/BUILD.idna-0.2.3.bazel index 59de82fd73..4ec045933c 100644 --- a/wasm_bindgen/raze/remote/BUILD.idna-0.2.3.bazel +++ b/wasm_bindgen/raze/remote/BUILD.idna-0.2.3.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -38,7 +39,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.itertools-0.10.1.bazel b/wasm_bindgen/raze/remote/BUILD.itertools-0.10.1.bazel index 44bf46d6dc..757cfc740f 100644 --- a/wasm_bindgen/raze/remote/BUILD.itertools-0.10.1.bazel +++ b/wasm_bindgen/raze/remote/BUILD.itertools-0.10.1.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -57,7 +58,6 @@ rust_library( "use_std", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.itoa-0.4.7.bazel b/wasm_bindgen/raze/remote/BUILD.itoa-0.4.7.bazel index 9fe13a562e..69addd5979 100644 --- a/wasm_bindgen/raze/remote/BUILD.itoa-0.4.7.bazel +++ b/wasm_bindgen/raze/remote/BUILD.itoa-0.4.7.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -38,7 +39,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ 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 78414a9243..cb09d1a8cd 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 @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -36,7 +37,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ 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 4c76282def..532737486c 100644 --- a/wasm_bindgen/raze/remote/BUILD.leb128-0.2.4.bazel +++ b/wasm_bindgen/raze/remote/BUILD.leb128-0.2.4.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -62,7 +63,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.libc-0.2.99.bazel b/wasm_bindgen/raze/remote/BUILD.libc-0.2.99.bazel index 3347f1d34c..0c55d3ea7d 100644 --- a/wasm_bindgen/raze/remote/BUILD.libc-0.2.99.bazel +++ b/wasm_bindgen/raze/remote/BUILD.libc-0.2.99.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -69,7 +70,6 @@ rust_library( "std", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.libz-sys-1.1.3.bazel b/wasm_bindgen/raze/remote/BUILD.libz-sys-1.1.3.bazel index f6e932395d..d00f6c10c5 100644 --- a/wasm_bindgen/raze/remote/BUILD.libz-sys-1.1.3.bazel +++ b/wasm_bindgen/raze/remote/BUILD.libz-sys-1.1.3.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -81,7 +82,6 @@ rust_library( "libc", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.log-0.4.14.bazel b/wasm_bindgen/raze/remote/BUILD.log-0.4.14.bazel index b3e8e8ca21..a58bb2f98e 100644 --- a/wasm_bindgen/raze/remote/BUILD.log-0.4.14.bazel +++ b/wasm_bindgen/raze/remote/BUILD.log-0.4.14.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -69,7 +70,6 @@ rust_library( "std", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.matches-0.1.9.bazel b/wasm_bindgen/raze/remote/BUILD.matches-0.1.9.bazel index 903967b101..f31e18897e 100644 --- a/wasm_bindgen/raze/remote/BUILD.matches-0.1.9.bazel +++ b/wasm_bindgen/raze/remote/BUILD.matches-0.1.9.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -36,7 +37,6 @@ rust_library( crate_features = [ ], crate_root = "lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.memchr-2.4.1.bazel b/wasm_bindgen/raze/remote/BUILD.memchr-2.4.1.bazel index 04efca9e90..69c467f386 100644 --- a/wasm_bindgen/raze/remote/BUILD.memchr-2.4.1.bazel +++ b/wasm_bindgen/raze/remote/BUILD.memchr-2.4.1.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -71,7 +72,6 @@ rust_library( "use_std", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.memoffset-0.6.4.bazel b/wasm_bindgen/raze/remote/BUILD.memoffset-0.6.4.bazel index a46f513ffc..24bb16e1c4 100644 --- a/wasm_bindgen/raze/remote/BUILD.memoffset-0.6.4.bazel +++ b/wasm_bindgen/raze/remote/BUILD.memoffset-0.6.4.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -68,7 +69,6 @@ rust_library( "default", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.mime-0.3.16.bazel b/wasm_bindgen/raze/remote/BUILD.mime-0.3.16.bazel index a9770c0e37..adfd28acb2 100644 --- a/wasm_bindgen/raze/remote/BUILD.mime-0.3.16.bazel +++ b/wasm_bindgen/raze/remote/BUILD.mime-0.3.16.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -42,7 +43,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.mime_guess-2.0.3.bazel b/wasm_bindgen/raze/remote/BUILD.mime_guess-2.0.3.bazel index 17fbb4ece5..60bb34c643 100644 --- a/wasm_bindgen/raze/remote/BUILD.mime_guess-2.0.3.bazel +++ b/wasm_bindgen/raze/remote/BUILD.mime_guess-2.0.3.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -74,7 +75,6 @@ rust_library( "rev-mappings", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.multipart-0.18.0.bazel b/wasm_bindgen/raze/remote/BUILD.multipart-0.18.0.bazel index 658e2f6566..93476f062c 100644 --- a/wasm_bindgen/raze/remote/BUILD.multipart-0.18.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.multipart-0.18.0.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -98,7 +99,6 @@ rust_library( "twoway", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ 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 6716223502..03c0389982 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 @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -36,7 +37,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ 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 a1e7798f80..1052c08856 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 @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -72,7 +73,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ 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 9ea42f9d36..7532249cf3 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 @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -66,7 +67,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ 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 c1fe402844..9e9f1de68f 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 @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -38,7 +39,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.openssl-probe-0.1.4.bazel b/wasm_bindgen/raze/remote/BUILD.openssl-probe-0.1.4.bazel index fc492cb2b4..7583d6c73b 100644 --- a/wasm_bindgen/raze/remote/BUILD.openssl-probe-0.1.4.bazel +++ b/wasm_bindgen/raze/remote/BUILD.openssl-probe-0.1.4.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -36,7 +37,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.openssl-sys-0.9.66.bazel b/wasm_bindgen/raze/remote/BUILD.openssl-sys-0.9.66.bazel index 1991054299..3e7fa49be3 100644 --- a/wasm_bindgen/raze/remote/BUILD.openssl-sys-0.9.66.bazel +++ b/wasm_bindgen/raze/remote/BUILD.openssl-sys-0.9.66.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -40,7 +41,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.percent-encoding-2.1.0.bazel b/wasm_bindgen/raze/remote/BUILD.percent-encoding-2.1.0.bazel index 9f3995f10e..c791a19dcd 100644 --- a/wasm_bindgen/raze/remote/BUILD.percent-encoding-2.1.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.percent-encoding-2.1.0.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -36,7 +37,6 @@ rust_library( crate_features = [ ], crate_root = "lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ 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 9317777e91..3006759b99 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 @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -36,7 +37,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ 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 370c150cb0..9653f8410f 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 @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -38,7 +39,6 @@ rust_library( "std", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.predicates-1.0.8.bazel b/wasm_bindgen/raze/remote/BUILD.predicates-1.0.8.bazel index 30163bfe0a..49ffdbd49b 100644 --- a/wasm_bindgen/raze/remote/BUILD.predicates-1.0.8.bazel +++ b/wasm_bindgen/raze/remote/BUILD.predicates-1.0.8.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -43,7 +44,6 @@ rust_library( "regex", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.predicates-2.0.2.bazel b/wasm_bindgen/raze/remote/BUILD.predicates-2.0.2.bazel index fa031ae66f..35d6910815 100644 --- a/wasm_bindgen/raze/remote/BUILD.predicates-2.0.2.bazel +++ b/wasm_bindgen/raze/remote/BUILD.predicates-2.0.2.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -40,7 +41,6 @@ rust_library( "difflib", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.predicates-core-1.0.2.bazel b/wasm_bindgen/raze/remote/BUILD.predicates-core-1.0.2.bazel index a6d98b1527..a5d564353f 100644 --- a/wasm_bindgen/raze/remote/BUILD.predicates-core-1.0.2.bazel +++ b/wasm_bindgen/raze/remote/BUILD.predicates-core-1.0.2.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -36,7 +37,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.predicates-tree-1.0.3.bazel b/wasm_bindgen/raze/remote/BUILD.predicates-tree-1.0.3.bazel index 39922785c0..542e96533c 100644 --- a/wasm_bindgen/raze/remote/BUILD.predicates-tree-1.0.3.bazel +++ b/wasm_bindgen/raze/remote/BUILD.predicates-tree-1.0.3.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -36,7 +37,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.proc-macro-hack-0.5.19.bazel b/wasm_bindgen/raze/remote/BUILD.proc-macro-hack-0.5.19.bazel index a59c85788f..d496ff1f5b 100644 --- a/wasm_bindgen/raze/remote/BUILD.proc-macro-hack-0.5.19.bazel +++ b/wasm_bindgen/raze/remote/BUILD.proc-macro-hack-0.5.19.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -59,13 +60,12 @@ cargo_build_script( ], ) -rust_library( +rust_proc_macro( name = "proc_macro_hack", srcs = glob(["**/*.rs"]), crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "proc-macro", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.proc-macro2-1.0.28.bazel b/wasm_bindgen/raze/remote/BUILD.proc-macro2-1.0.28.bazel index 12aaae9275..2b8f945b0b 100644 --- a/wasm_bindgen/raze/remote/BUILD.proc-macro2-1.0.28.bazel +++ b/wasm_bindgen/raze/remote/BUILD.proc-macro2-1.0.28.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -69,7 +70,6 @@ rust_library( "proc-macro", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ 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 9e806dd58a..d528050082 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 @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -38,7 +39,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.quote-1.0.9.bazel b/wasm_bindgen/raze/remote/BUILD.quote-1.0.9.bazel index 7e7a8dd163..aed9013c2f 100644 --- a/wasm_bindgen/raze/remote/BUILD.quote-1.0.9.bazel +++ b/wasm_bindgen/raze/remote/BUILD.quote-1.0.9.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -38,7 +39,6 @@ rust_library( "proc-macro", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.rand-0.8.4.bazel b/wasm_bindgen/raze/remote/BUILD.rand-0.8.4.bazel index 12df2449f8..c2b14f6e0e 100644 --- a/wasm_bindgen/raze/remote/BUILD.rand-0.8.4.bazel +++ b/wasm_bindgen/raze/remote/BUILD.rand-0.8.4.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -46,7 +47,6 @@ rust_library( "std_rng", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ @@ -59,27 +59,53 @@ rust_library( version = "0.8.4", # buildifier: leave-alone deps = [ - "@rules_rust_wasm_bindgen__rand_chacha__0_3_1//:rand_chacha", "@rules_rust_wasm_bindgen__rand_core__0_6_3//:rand_core", ] + selects.with_or({ - # cfg(unix) + # cfg(not(target_os = "emscripten")) ( + "@rules_rust//rust/platform:i686-apple-darwin", + "@rules_rust//rust/platform:i686-pc-windows-msvc", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-apple-darwin", + "@rules_rust//rust/platform:x86_64-pc-windows-msvc", + "@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:wasm32-unknown-unknown", + "@rules_rust//rust/platform:wasm32-wasi", "@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_wasm_bindgen__rand_chacha__0_3_1//:rand_chacha", + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(unix) + ( + "@rules_rust//rust/platform:i686-apple-darwin", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-apple-darwin", "@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-linux-android", + "@rules_rust//rust/platform:i686-unknown-freebsd", + "@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_wasm_bindgen__libc__0_2_99//:libc", ], diff --git a/wasm_bindgen/raze/remote/BUILD.rand_chacha-0.3.1.bazel b/wasm_bindgen/raze/remote/BUILD.rand_chacha-0.3.1.bazel index 6a98439c50..177c68b801 100644 --- a/wasm_bindgen/raze/remote/BUILD.rand_chacha-0.3.1.bazel +++ b/wasm_bindgen/raze/remote/BUILD.rand_chacha-0.3.1.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -37,7 +38,6 @@ rust_library( "std", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.rand_core-0.6.3.bazel b/wasm_bindgen/raze/remote/BUILD.rand_core-0.6.3.bazel index 9001c04e7e..b8f563dea8 100644 --- a/wasm_bindgen/raze/remote/BUILD.rand_core-0.6.3.bazel +++ b/wasm_bindgen/raze/remote/BUILD.rand_core-0.6.3.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -39,7 +40,6 @@ rust_library( "std", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.rand_hc-0.3.1.bazel b/wasm_bindgen/raze/remote/BUILD.rand_hc-0.3.1.bazel index 4dda082bdd..081260234d 100644 --- a/wasm_bindgen/raze/remote/BUILD.rand_hc-0.3.1.bazel +++ b/wasm_bindgen/raze/remote/BUILD.rand_hc-0.3.1.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -36,7 +37,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.rayon-1.5.1.bazel b/wasm_bindgen/raze/remote/BUILD.rayon-1.5.1.bazel index 2a14751be1..d125b817cc 100644 --- a/wasm_bindgen/raze/remote/BUILD.rayon-1.5.1.bazel +++ b/wasm_bindgen/raze/remote/BUILD.rayon-1.5.1.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -68,7 +69,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.rayon-core-1.9.1.bazel b/wasm_bindgen/raze/remote/BUILD.rayon-core-1.9.1.bazel index 4c2d44b240..1b2754bc16 100644 --- a/wasm_bindgen/raze/remote/BUILD.rayon-core-1.9.1.bazel +++ b/wasm_bindgen/raze/remote/BUILD.rayon-core-1.9.1.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -57,40 +58,15 @@ cargo_build_script( version = "1.9.1", visibility = ["//visibility:private"], deps = [ - ] + selects.with_or({ - # cfg(unix) - ( - "@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": [], - }), + ], ) rust_library( name = "rayon_core", srcs = glob(["**/*.rs"]), - aliases = { - }, crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ @@ -109,29 +85,7 @@ rust_library( "@rules_rust_wasm_bindgen__crossbeam_utils__0_8_5//:crossbeam_utils", "@rules_rust_wasm_bindgen__lazy_static__1_4_0//:lazy_static", "@rules_rust_wasm_bindgen__num_cpus__1_13_0//:num_cpus", - ] + selects.with_or({ - # cfg(unix) - ( - "@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": [], - }), + ], ) # Unsupported target "double_init_fail" with type "test" omitted diff --git a/wasm_bindgen/raze/remote/BUILD.redox_syscall-0.2.10.bazel b/wasm_bindgen/raze/remote/BUILD.redox_syscall-0.2.10.bazel index 157c206523..572b5449e9 100644 --- a/wasm_bindgen/raze/remote/BUILD.redox_syscall-0.2.10.bazel +++ b/wasm_bindgen/raze/remote/BUILD.redox_syscall-0.2.10.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -45,7 +46,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.regex-1.5.4.bazel b/wasm_bindgen/raze/remote/BUILD.regex-1.5.4.bazel index 957e87ad19..d5527a9dd9 100644 --- a/wasm_bindgen/raze/remote/BUILD.regex-1.5.4.bazel +++ b/wasm_bindgen/raze/remote/BUILD.regex-1.5.4.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -65,7 +66,6 @@ rust_library( "unicode-segment", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.regex-automata-0.1.10.bazel b/wasm_bindgen/raze/remote/BUILD.regex-automata-0.1.10.bazel index 031c7005ee..d11e49c91e 100644 --- a/wasm_bindgen/raze/remote/BUILD.regex-automata-0.1.10.bazel +++ b/wasm_bindgen/raze/remote/BUILD.regex-automata-0.1.10.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -36,7 +37,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.regex-syntax-0.6.25.bazel b/wasm_bindgen/raze/remote/BUILD.regex-syntax-0.6.25.bazel index 5a3f814796..cb10f7434f 100644 --- a/wasm_bindgen/raze/remote/BUILD.regex-syntax-0.6.25.bazel +++ b/wasm_bindgen/raze/remote/BUILD.regex-syntax-0.6.25.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -47,7 +48,6 @@ rust_library( "unicode-segment", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ 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 97fcf00c01..4171bd3d99 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 @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -38,7 +39,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.rouille-3.2.1.bazel b/wasm_bindgen/raze/remote/BUILD.rouille-3.2.1.bazel index eb98e2dcd0..6d61a7d589 100644 --- a/wasm_bindgen/raze/remote/BUILD.rouille-3.2.1.bazel +++ b/wasm_bindgen/raze/remote/BUILD.rouille-3.2.1.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -54,7 +55,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", proc_macro_deps = [ diff --git a/wasm_bindgen/raze/remote/BUILD.rustc-demangle-0.1.20.bazel b/wasm_bindgen/raze/remote/BUILD.rustc-demangle-0.1.20.bazel index ede3e0f195..c799e00b23 100644 --- a/wasm_bindgen/raze/remote/BUILD.rustc-demangle-0.1.20.bazel +++ b/wasm_bindgen/raze/remote/BUILD.rustc-demangle-0.1.20.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -36,7 +37,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.rustc_version-0.2.3.bazel b/wasm_bindgen/raze/remote/BUILD.rustc_version-0.2.3.bazel index a340225af0..b7b02a1edf 100644 --- a/wasm_bindgen/raze/remote/BUILD.rustc_version-0.2.3.bazel +++ b/wasm_bindgen/raze/remote/BUILD.rustc_version-0.2.3.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -36,7 +37,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ 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 e43552893b..f0f647845a 100644 --- a/wasm_bindgen/raze/remote/BUILD.ryu-1.0.5.bazel +++ b/wasm_bindgen/raze/remote/BUILD.ryu-1.0.5.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -69,7 +70,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ 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 de8528cb74..294d28ac16 100644 --- a/wasm_bindgen/raze/remote/BUILD.safemem-0.3.3.bazel +++ b/wasm_bindgen/raze/remote/BUILD.safemem-0.3.3.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -38,7 +39,6 @@ rust_library( "std", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ 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 e5d070e536..4cd652594e 100644 --- a/wasm_bindgen/raze/remote/BUILD.schannel-0.1.19.bazel +++ b/wasm_bindgen/raze/remote/BUILD.schannel-0.1.19.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -36,7 +37,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ 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 dcd0604449..eac55e3178 100644 --- a/wasm_bindgen/raze/remote/BUILD.scopeguard-1.1.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.scopeguard-1.1.0.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -38,7 +39,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.semver-0.9.0.bazel b/wasm_bindgen/raze/remote/BUILD.semver-0.9.0.bazel index c112cda224..fbdce351ae 100644 --- a/wasm_bindgen/raze/remote/BUILD.semver-0.9.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.semver-0.9.0.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -37,7 +38,6 @@ rust_library( "default", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.semver-parser-0.7.0.bazel b/wasm_bindgen/raze/remote/BUILD.semver-parser-0.7.0.bazel index fd0684d84d..9723320fbd 100644 --- a/wasm_bindgen/raze/remote/BUILD.semver-parser-0.7.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.semver-parser-0.7.0.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -36,7 +37,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.serde-1.0.127.bazel b/wasm_bindgen/raze/remote/BUILD.serde-1.0.127.bazel index 434669ad66..80085b00cd 100644 --- a/wasm_bindgen/raze/remote/BUILD.serde-1.0.127.bazel +++ b/wasm_bindgen/raze/remote/BUILD.serde-1.0.127.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -73,7 +74,6 @@ rust_library( "std", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", proc_macro_deps = [ diff --git a/wasm_bindgen/raze/remote/BUILD.serde_derive-1.0.127.bazel b/wasm_bindgen/raze/remote/BUILD.serde_derive-1.0.127.bazel index 0d24df3981..ac8df0ae5f 100644 --- a/wasm_bindgen/raze/remote/BUILD.serde_derive-1.0.127.bazel +++ b/wasm_bindgen/raze/remote/BUILD.serde_derive-1.0.127.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -60,14 +61,13 @@ cargo_build_script( ], ) -rust_library( +rust_proc_macro( name = "serde_derive", srcs = glob(["**/*.rs"]), crate_features = [ "default", ], crate_root = "src/lib.rs", - crate_type = "proc-macro", data = [], edition = "2015", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.serde_json-1.0.66.bazel b/wasm_bindgen/raze/remote/BUILD.serde_json-1.0.66.bazel index c56f6f3ba9..8f0bb56987 100644 --- a/wasm_bindgen/raze/remote/BUILD.serde_json-1.0.66.bazel +++ b/wasm_bindgen/raze/remote/BUILD.serde_json-1.0.66.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -69,7 +70,6 @@ rust_library( "std", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ 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 ab7498898f..d08acb1073 100644 --- a/wasm_bindgen/raze/remote/BUILD.sha1-0.6.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.sha1-0.6.0.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -36,7 +37,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.socket2-0.4.1.bazel b/wasm_bindgen/raze/remote/BUILD.socket2-0.4.1.bazel index 1e6c688b5d..7c5c5c7bb8 100644 --- a/wasm_bindgen/raze/remote/BUILD.socket2-0.4.1.bazel +++ b/wasm_bindgen/raze/remote/BUILD.socket2-0.4.1.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -38,7 +39,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ @@ -54,22 +54,22 @@ rust_library( ] + selects.with_or({ # cfg(unix) ( + "@rules_rust//rust/platform:i686-apple-darwin", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-apple-darwin", + "@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_99//:libc", ], diff --git a/wasm_bindgen/raze/remote/BUILD.standback-0.2.17.bazel b/wasm_bindgen/raze/remote/BUILD.standback-0.2.17.bazel index dfd7d3e4cc..f55907b244 100644 --- a/wasm_bindgen/raze/remote/BUILD.standback-0.2.17.bazel +++ b/wasm_bindgen/raze/remote/BUILD.standback-0.2.17.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -68,7 +69,6 @@ rust_library( "std", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.stdweb-0.4.20.bazel b/wasm_bindgen/raze/remote/BUILD.stdweb-0.4.20.bazel index 4ed2733ade..bf26648fd4 100644 --- a/wasm_bindgen/raze/remote/BUILD.stdweb-0.4.20.bazel +++ b/wasm_bindgen/raze/remote/BUILD.stdweb-0.4.20.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -75,7 +76,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", proc_macro_deps = [ diff --git a/wasm_bindgen/raze/remote/BUILD.stdweb-derive-0.5.3.bazel b/wasm_bindgen/raze/remote/BUILD.stdweb-derive-0.5.3.bazel index b82503b582..240d25646f 100644 --- a/wasm_bindgen/raze/remote/BUILD.stdweb-derive-0.5.3.bazel +++ b/wasm_bindgen/raze/remote/BUILD.stdweb-derive-0.5.3.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -30,13 +31,12 @@ licenses([ # Generated Targets -rust_library( +rust_proc_macro( name = "stdweb_derive", srcs = glob(["**/*.rs"]), crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "proc-macro", data = [], edition = "2015", proc_macro_deps = [ diff --git a/wasm_bindgen/raze/remote/BUILD.stdweb-internal-macros-0.2.9.bazel b/wasm_bindgen/raze/remote/BUILD.stdweb-internal-macros-0.2.9.bazel index cad90c4811..d214dcb965 100644 --- a/wasm_bindgen/raze/remote/BUILD.stdweb-internal-macros-0.2.9.bazel +++ b/wasm_bindgen/raze/remote/BUILD.stdweb-internal-macros-0.2.9.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -30,13 +31,12 @@ licenses([ # Generated Targets -rust_library( +rust_proc_macro( name = "stdweb_internal_macros", srcs = glob(["**/*.rs"]), crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "proc-macro", data = [], edition = "2015", proc_macro_deps = [ diff --git a/wasm_bindgen/raze/remote/BUILD.stdweb-internal-runtime-0.1.5.bazel b/wasm_bindgen/raze/remote/BUILD.stdweb-internal-runtime-0.1.5.bazel index 9752c5ec9d..271dca3c68 100644 --- a/wasm_bindgen/raze/remote/BUILD.stdweb-internal-runtime-0.1.5.bazel +++ b/wasm_bindgen/raze/remote/BUILD.stdweb-internal-runtime-0.1.5.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -67,7 +68,6 @@ rust_library( "default", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.strsim-0.10.0.bazel b/wasm_bindgen/raze/remote/BUILD.strsim-0.10.0.bazel index 799656a17c..79f33d0431 100644 --- a/wasm_bindgen/raze/remote/BUILD.strsim-0.10.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.strsim-0.10.0.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -38,7 +39,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.syn-1.0.74.bazel b/wasm_bindgen/raze/remote/BUILD.syn-1.0.74.bazel index 069c7de679..cede7ea87b 100644 --- a/wasm_bindgen/raze/remote/BUILD.syn-1.0.74.bazel +++ b/wasm_bindgen/raze/remote/BUILD.syn-1.0.74.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -89,7 +90,6 @@ rust_library( "visit", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.tempfile-3.2.0.bazel b/wasm_bindgen/raze/remote/BUILD.tempfile-3.2.0.bazel index 0c8d1eca4d..fc46f895c3 100644 --- a/wasm_bindgen/raze/remote/BUILD.tempfile-3.2.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.tempfile-3.2.0.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -38,7 +39,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ @@ -57,22 +57,22 @@ rust_library( ] + selects.with_or({ # cfg(unix) ( + "@rules_rust//rust/platform:i686-apple-darwin", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-apple-darwin", + "@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_99//:libc", ], 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 f13eade218..5d755f11a4 100644 --- a/wasm_bindgen/raze/remote/BUILD.termcolor-1.1.2.bazel +++ b/wasm_bindgen/raze/remote/BUILD.termcolor-1.1.2.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -38,7 +39,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ 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 2d6972ecf7..50634715b8 100644 --- a/wasm_bindgen/raze/remote/BUILD.threadpool-1.8.1.bazel +++ b/wasm_bindgen/raze/remote/BUILD.threadpool-1.8.1.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -36,7 +37,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.time-0.1.43.bazel b/wasm_bindgen/raze/remote/BUILD.time-0.1.43.bazel index 0b733d7d09..63c4d174f9 100644 --- a/wasm_bindgen/raze/remote/BUILD.time-0.1.43.bazel +++ b/wasm_bindgen/raze/remote/BUILD.time-0.1.43.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -38,7 +39,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.time-0.2.27.bazel b/wasm_bindgen/raze/remote/BUILD.time-0.2.27.bazel index 0df92f69ba..9c2d076175 100644 --- a/wasm_bindgen/raze/remote/BUILD.time-0.2.27.bazel +++ b/wasm_bindgen/raze/remote/BUILD.time-0.2.27.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -74,22 +75,22 @@ cargo_build_script( }) + selects.with_or({ # cfg(unix) ( + "@rules_rust//rust/platform:i686-apple-darwin", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-apple-darwin", + "@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": [], @@ -118,7 +119,6 @@ rust_library( "winapi", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", proc_macro_deps = [ @@ -149,22 +149,22 @@ rust_library( }) + selects.with_or({ # cfg(unix) ( + "@rules_rust//rust/platform:i686-apple-darwin", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-apple-darwin", + "@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_99//:libc", ], diff --git a/wasm_bindgen/raze/remote/BUILD.time-macros-0.1.1.bazel b/wasm_bindgen/raze/remote/BUILD.time-macros-0.1.1.bazel index 39478f3c0a..a4cde6710d 100644 --- a/wasm_bindgen/raze/remote/BUILD.time-macros-0.1.1.bazel +++ b/wasm_bindgen/raze/remote/BUILD.time-macros-0.1.1.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -36,7 +37,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", proc_macro_deps = [ diff --git a/wasm_bindgen/raze/remote/BUILD.time-macros-impl-0.1.2.bazel b/wasm_bindgen/raze/remote/BUILD.time-macros-impl-0.1.2.bazel index a972e8efd9..074d81ec96 100644 --- a/wasm_bindgen/raze/remote/BUILD.time-macros-impl-0.1.2.bazel +++ b/wasm_bindgen/raze/remote/BUILD.time-macros-impl-0.1.2.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -30,13 +31,12 @@ licenses([ # Generated Targets -rust_library( +rust_proc_macro( name = "time_macros_impl", srcs = glob(["**/*.rs"]), crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "proc-macro", data = [], edition = "2018", proc_macro_deps = [ diff --git a/wasm_bindgen/raze/remote/BUILD.tiny_http-0.8.2.bazel b/wasm_bindgen/raze/remote/BUILD.tiny_http-0.8.2.bazel index 6921421409..b961910d84 100644 --- a/wasm_bindgen/raze/remote/BUILD.tiny_http-0.8.2.bazel +++ b/wasm_bindgen/raze/remote/BUILD.tiny_http-0.8.2.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -51,7 +52,6 @@ rust_library( "default", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.tinyvec-1.3.1.bazel b/wasm_bindgen/raze/remote/BUILD.tinyvec-1.3.1.bazel index 99cb2ef5bc..4ad552628f 100644 --- a/wasm_bindgen/raze/remote/BUILD.tinyvec-1.3.1.bazel +++ b/wasm_bindgen/raze/remote/BUILD.tinyvec-1.3.1.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -41,7 +42,6 @@ rust_library( "tinyvec_macros", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ 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 0b0eb53f5f..48a87b312b 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 @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -36,7 +37,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ 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 72a0cbc2ce..d58fac22bf 100644 --- a/wasm_bindgen/raze/remote/BUILD.treeline-0.1.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.treeline-0.1.0.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -38,7 +39,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ 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 75df7b8fd4..d120bdc73f 100644 --- a/wasm_bindgen/raze/remote/BUILD.twoway-0.1.8.bazel +++ b/wasm_bindgen/raze/remote/BUILD.twoway-0.1.8.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -40,7 +41,6 @@ rust_library( "use_std", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.unicase-2.6.0.bazel b/wasm_bindgen/raze/remote/BUILD.unicase-2.6.0.bazel index 3439e4138a..f04e0fdcf0 100644 --- a/wasm_bindgen/raze/remote/BUILD.unicase-2.6.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.unicase-2.6.0.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -66,7 +67,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.unicode-bidi-0.3.6.bazel b/wasm_bindgen/raze/remote/BUILD.unicode-bidi-0.3.6.bazel index 6ac70da271..39c940f892 100644 --- a/wasm_bindgen/raze/remote/BUILD.unicode-bidi-0.3.6.bazel +++ b/wasm_bindgen/raze/remote/BUILD.unicode-bidi-0.3.6.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -38,7 +39,6 @@ rust_library( "std", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.unicode-normalization-0.1.19.bazel b/wasm_bindgen/raze/remote/BUILD.unicode-normalization-0.1.19.bazel index f5ce46e3c0..13f64f2ab9 100644 --- a/wasm_bindgen/raze/remote/BUILD.unicode-normalization-0.1.19.bazel +++ b/wasm_bindgen/raze/remote/BUILD.unicode-normalization-0.1.19.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -40,7 +41,6 @@ rust_library( "std", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.unicode-segmentation-1.8.0.bazel b/wasm_bindgen/raze/remote/BUILD.unicode-segmentation-1.8.0.bazel index 9df87c2170..bdf802acd7 100644 --- a/wasm_bindgen/raze/remote/BUILD.unicode-segmentation-1.8.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.unicode-segmentation-1.8.0.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -42,7 +43,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.unicode-xid-0.2.2.bazel b/wasm_bindgen/raze/remote/BUILD.unicode-xid-0.2.2.bazel index cb841e9119..4e294890bf 100644 --- a/wasm_bindgen/raze/remote/BUILD.unicode-xid-0.2.2.bazel +++ b/wasm_bindgen/raze/remote/BUILD.unicode-xid-0.2.2.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -39,7 +40,6 @@ rust_library( "default", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.url-2.2.2.bazel b/wasm_bindgen/raze/remote/BUILD.url-2.2.2.bazel index a1f15f5316..965da58ea2 100644 --- a/wasm_bindgen/raze/remote/BUILD.url-2.2.2.bazel +++ b/wasm_bindgen/raze/remote/BUILD.url-2.2.2.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -38,7 +39,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.vcpkg-0.2.15.bazel b/wasm_bindgen/raze/remote/BUILD.vcpkg-0.2.15.bazel index 6e7e979725..d58cb85745 100644 --- a/wasm_bindgen/raze/remote/BUILD.vcpkg-0.2.15.bazel +++ b/wasm_bindgen/raze/remote/BUILD.vcpkg-0.2.15.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -36,7 +37,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.version_check-0.9.3.bazel b/wasm_bindgen/raze/remote/BUILD.version_check-0.9.3.bazel index f75e2c1d12..f2848d8ca8 100644 --- a/wasm_bindgen/raze/remote/BUILD.version_check-0.9.3.bazel +++ b/wasm_bindgen/raze/remote/BUILD.version_check-0.9.3.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -36,7 +37,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ 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 b338042eef..923bd1d00d 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 @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -56,22 +57,22 @@ rust_binary( ] + selects.with_or({ # cfg(unix) ( + "@rules_rust//rust/platform:i686-apple-darwin", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-apple-darwin", + "@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_99//:libc", ], @@ -105,22 +106,22 @@ rust_binary( ] + selects.with_or({ # cfg(unix) ( + "@rules_rust//rust/platform:i686-apple-darwin", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-apple-darwin", + "@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_99//:libc", ], @@ -154,22 +155,22 @@ rust_binary( ] + selects.with_or({ # cfg(unix) ( + "@rules_rust//rust/platform:i686-apple-darwin", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-apple-darwin", + "@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_99//:libc", ], @@ -185,7 +186,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ @@ -201,22 +201,22 @@ rust_library( ] + selects.with_or({ # cfg(unix) ( + "@rules_rust//rust/platform:i686-apple-darwin", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-apple-darwin", + "@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_99//:libc", ], diff --git a/wasm_bindgen/raze/remote/BUILD.walrus-0.19.0.bazel b/wasm_bindgen/raze/remote/BUILD.walrus-0.19.0.bazel index 980fe74093..81aa5d2dea 100644 --- a/wasm_bindgen/raze/remote/BUILD.walrus-0.19.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.walrus-0.19.0.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -46,7 +47,6 @@ rust_library( "rayon", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", proc_macro_deps = [ diff --git a/wasm_bindgen/raze/remote/BUILD.walrus-macro-0.19.0.bazel b/wasm_bindgen/raze/remote/BUILD.walrus-macro-0.19.0.bazel index 6c22f749a6..a3ae6b91c2 100644 --- a/wasm_bindgen/raze/remote/BUILD.walrus-macro-0.19.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.walrus-macro-0.19.0.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -30,13 +31,12 @@ licenses([ # Generated Targets -rust_library( +rust_proc_macro( name = "walrus_macro", srcs = glob(["**/*.rs"]), crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "proc-macro", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.wasi-0.10.2+wasi-snapshot-preview1.bazel b/wasm_bindgen/raze/remote/BUILD.wasi-0.10.2+wasi-snapshot-preview1.bazel index 455b31b115..88a85d4eb9 100644 --- a/wasm_bindgen/raze/remote/BUILD.wasi-0.10.2+wasi-snapshot-preview1.bazel +++ b/wasm_bindgen/raze/remote/BUILD.wasi-0.10.2+wasi-snapshot-preview1.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -38,7 +39,6 @@ rust_library( "std", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-0.2.76.bazel b/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-0.2.76.bazel index 8fbb9a7e8d..7b08c2248a 100644 --- a/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-0.2.76.bazel +++ b/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-0.2.76.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -59,29 +60,18 @@ cargo_build_script( version = "0.2.76", visibility = ["//visibility:private"], deps = [ - ] + selects.with_or({ - # cfg(target_arch = "wasm32") - ( - "@rules_rust//rust/platform:wasm32-unknown-unknown", - "@rules_rust//rust/platform:wasm32-wasi", - ): [ - ], - "//conditions:default": [], - }), + ], ) rust_library( name = "wasm_bindgen", srcs = glob(["**/*.rs"]), - aliases = { - }, crate_features = [ "default", "spans", "std", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", proc_macro_deps = [ @@ -99,15 +89,7 @@ rust_library( deps = [ ":wasm_bindgen_build_script", "@rules_rust_wasm_bindgen__cfg_if__1_0_0//:cfg_if", - ] + selects.with_or({ - # cfg(target_arch = "wasm32") - ( - "@rules_rust//rust/platform:wasm32-unknown-unknown", - "@rules_rust//rust/platform:wasm32-wasi", - ): [ - ], - "//conditions:default": [], - }), + ], ) # Unsupported target "headless" with type "test" omitted diff --git a/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-backend-0.2.76.bazel b/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-backend-0.2.76.bazel index 46c404877d..51b2c4ef61 100644 --- a/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-backend-0.2.76.bazel +++ b/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-backend-0.2.76.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -37,7 +38,6 @@ rust_library( "spans", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-cli-0.2.76.bazel b/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-cli-0.2.76.bazel index 2d5662d090..e0057e844e 100644 --- a/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-cli-0.2.76.bazel +++ b/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-cli-0.2.76.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) diff --git a/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-cli-support-0.2.76.bazel b/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-cli-support-0.2.76.bazel index 099bf75a8e..08f5282ad2 100644 --- a/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-cli-support-0.2.76.bazel +++ b/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-cli-support-0.2.76.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -36,7 +37,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-externref-xform-0.2.76.bazel b/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-externref-xform-0.2.76.bazel index 9b46fe4d75..2edee7bf43 100644 --- a/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-externref-xform-0.2.76.bazel +++ b/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-externref-xform-0.2.76.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -36,7 +37,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-macro-0.2.76.bazel b/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-macro-0.2.76.bazel index 068801fa89..0cf077caac 100644 --- a/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-macro-0.2.76.bazel +++ b/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-macro-0.2.76.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -30,14 +31,13 @@ licenses([ # Generated Targets -rust_library( +rust_proc_macro( name = "wasm_bindgen_macro", srcs = glob(["**/*.rs"]), crate_features = [ "spans", ], crate_root = "src/lib.rs", - crate_type = "proc-macro", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-macro-support-0.2.76.bazel b/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-macro-support-0.2.76.bazel index 52746b2131..2ff9471c0d 100644 --- a/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-macro-support-0.2.76.bazel +++ b/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-macro-support-0.2.76.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -37,7 +38,6 @@ rust_library( "spans", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-multi-value-xform-0.2.76.bazel b/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-multi-value-xform-0.2.76.bazel index 4b86504ba8..b92d77c242 100644 --- a/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-multi-value-xform-0.2.76.bazel +++ b/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-multi-value-xform-0.2.76.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -36,7 +37,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-shared-0.2.76.bazel b/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-shared-0.2.76.bazel index ee5ec02579..99df239068 100644 --- a/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-shared-0.2.76.bazel +++ b/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-shared-0.2.76.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -66,7 +67,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-threads-xform-0.2.76.bazel b/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-threads-xform-0.2.76.bazel index 7e7afaf4ba..4134ab87d2 100644 --- a/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-threads-xform-0.2.76.bazel +++ b/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-threads-xform-0.2.76.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -36,7 +37,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-wasm-conventions-0.2.76.bazel b/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-wasm-conventions-0.2.76.bazel index ab78ecd4cc..36a82fda1f 100644 --- a/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-wasm-conventions-0.2.76.bazel +++ b/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-wasm-conventions-0.2.76.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -36,7 +37,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-wasm-interpreter-0.2.76.bazel b/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-wasm-interpreter-0.2.76.bazel index 35cbc22d2f..8013481999 100644 --- a/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-wasm-interpreter-0.2.76.bazel +++ b/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-wasm-interpreter-0.2.76.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -36,7 +37,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ 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 069104e97e..b67db40987 100644 --- a/wasm_bindgen/raze/remote/BUILD.wasmparser-0.59.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.wasmparser-0.59.0.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -40,7 +41,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.wasmparser-0.77.0.bazel b/wasm_bindgen/raze/remote/BUILD.wasmparser-0.77.0.bazel index 9a9b4b4339..c90a80d9b4 100644 --- a/wasm_bindgen/raze/remote/BUILD.wasmparser-0.77.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.wasmparser-0.77.0.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -40,7 +41,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.wasmparser-0.80.0.bazel b/wasm_bindgen/raze/remote/BUILD.wasmparser-0.80.0.bazel index 05278c3749..83b2e3420a 100644 --- a/wasm_bindgen/raze/remote/BUILD.wasmparser-0.80.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.wasmparser-0.80.0.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -40,7 +41,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.wasmprinter-0.2.28.bazel b/wasm_bindgen/raze/remote/BUILD.wasmprinter-0.2.28.bazel index 02e54b37bf..f3d9a45358 100644 --- a/wasm_bindgen/raze/remote/BUILD.wasmprinter-0.2.28.bazel +++ b/wasm_bindgen/raze/remote/BUILD.wasmprinter-0.2.28.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -36,7 +37,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ 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 9719035d0e..34382a3fe8 100644 --- a/wasm_bindgen/raze/remote/BUILD.wast-21.0.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.wast-21.0.0.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -38,7 +39,6 @@ rust_library( "wasm-module", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ 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 35cedf745e..523a4703ec 100644 --- a/wasm_bindgen/raze/remote/BUILD.winapi-0.3.9.bazel +++ b/wasm_bindgen/raze/remote/BUILD.winapi-0.3.9.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -119,7 +120,6 @@ rust_library( "ws2tcpip", ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ 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 fe5e5f1aff..2bd58be726 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 @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -65,7 +66,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ 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 32b447bae3..9cf3e74961 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 @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -38,7 +39,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ 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 75744b643f..41d04968bf 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 @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -65,7 +66,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2015", rustc_flags = [ 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 b42caca086..f6c33d9425 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 @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -36,7 +37,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ 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 3decf4049b..2f4b9a89f8 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 @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -38,7 +39,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ 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 89c28fae61..cda38e434a 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 @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -60,7 +61,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ 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 5566513d9e..66bd38dee4 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 @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -38,7 +39,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ 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 ea1ee287d2..af513d6794 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 @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -36,7 +37,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ diff --git a/wasm_bindgen/raze/remote/BUILD.wit-walrus-0.6.0.bazel b/wasm_bindgen/raze/remote/BUILD.wit-walrus-0.6.0.bazel index c5de2c2ac6..bd98c16791 100644 --- a/wasm_bindgen/raze/remote/BUILD.wit-walrus-0.6.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.wit-walrus-0.6.0.bazel @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -36,7 +37,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [ 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 ebc4c8c1c0..902b313048 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 @@ -10,9 +10,10 @@ load("@bazel_skylib//lib:selects.bzl", "selects") # buildifier: disable=load load( - "@rules_rust//rust:rust.bzl", + "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", + "rust_proc_macro", "rust_test", ) @@ -36,7 +37,6 @@ rust_library( crate_features = [ ], crate_root = "src/lib.rs", - crate_type = "lib", data = [], edition = "2018", rustc_flags = [