mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
Add missing sim lines in build files
Latest rules_rust now requires them. Can't use the 0.16 release due to not-yet-merged https://github.com/google/cargo-raze/pull/524
This commit is contained in:
parent
abb018b507
commit
fe9b0aecf7
26 changed files with 39 additions and 2 deletions
|
@ -28,6 +28,7 @@ targets = [
|
|||
"x86_64-unknown-linux-gnu",
|
||||
"aarch64-apple-darwin",
|
||||
"aarch64-apple-ios",
|
||||
"aarch64-apple-ios-sim",
|
||||
"aarch64-unknown-linux-gnu",
|
||||
]
|
||||
genmode = "Remote"
|
||||
|
|
|
@ -92,6 +92,7 @@ rust_library(
|
|||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
"@rules_rust//rust/platform:x86_64-apple-ios",
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios-sim",
|
||||
"@rules_rust//rust/platform:x86_64-pc-windows-msvc",
|
||||
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
|
||||
): [
|
||||
|
|
|
@ -91,6 +91,7 @@ rust_library(
|
|||
# cfg(not(target_arch = "wasm32"))
|
||||
(
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios",
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios-sim",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
"@rules_rust//rust/platform:x86_64-apple-ios",
|
||||
|
|
|
@ -1,10 +1,12 @@
|
|||
This folder integrates Rust crates.io fetching into Bazel.
|
||||
|
||||
To add or update dependencies, ensure a local Rust environment is available
|
||||
(eg `source tools/cargo-env`), then install cargo-raze:
|
||||
(eg `source tools/cargo-env`), then install cargo-raze from git, commit
|
||||
ef58cddd28b64a0c321356acd16201e52cccfb3f
|
||||
|
||||
Also install cargo-license:
|
||||
|
||||
```
|
||||
cargo install cargo-raze --version 0.14.1
|
||||
cargo install cargo-license
|
||||
```
|
||||
|
||||
|
|
4
cargo/remote/BUILD.ahash-0.7.6.bazel
vendored
4
cargo/remote/BUILD.ahash-0.7.6.bazel
vendored
|
@ -66,6 +66,7 @@ cargo_build_script(
|
|||
"@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-apple-ios-sim",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-ios",
|
||||
): [
|
||||
|
@ -79,6 +80,7 @@ cargo_build_script(
|
|||
"@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-apple-ios-sim",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-ios",
|
||||
): [
|
||||
|
@ -121,6 +123,7 @@ rust_library(
|
|||
"@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-apple-ios-sim",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-ios",
|
||||
): [
|
||||
|
@ -135,6 +138,7 @@ rust_library(
|
|||
"@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-apple-ios-sim",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-ios",
|
||||
): [
|
||||
|
|
1
cargo/remote/BUILD.atty-0.2.14.bazel
vendored
1
cargo/remote/BUILD.atty-0.2.14.bazel
vendored
|
@ -61,6 +61,7 @@ rust_library(
|
|||
"@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-apple-ios-sim",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-ios",
|
||||
): [
|
||||
|
|
1
cargo/remote/BUILD.coarsetime-0.1.22.bazel
vendored
1
cargo/remote/BUILD.coarsetime-0.1.22.bazel
vendored
|
@ -61,6 +61,7 @@ rust_library(
|
|||
"@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-apple-ios-sim",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-ios",
|
||||
): [
|
||||
|
|
1
cargo/remote/BUILD.dirs-sys-next-0.1.2.bazel
vendored
1
cargo/remote/BUILD.dirs-sys-next-0.1.2.bazel
vendored
|
@ -59,6 +59,7 @@ rust_library(
|
|||
"@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-apple-ios-sim",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-ios",
|
||||
): [
|
||||
|
|
2
cargo/remote/BUILD.getrandom-0.1.16.bazel
vendored
2
cargo/remote/BUILD.getrandom-0.1.16.bazel
vendored
|
@ -65,6 +65,7 @@ cargo_build_script(
|
|||
"@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-apple-ios-sim",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-ios",
|
||||
): [
|
||||
|
@ -106,6 +107,7 @@ rust_library(
|
|||
"@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-apple-ios-sim",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-ios",
|
||||
): [
|
||||
|
|
1
cargo/remote/BUILD.getrandom-0.2.7.bazel
vendored
1
cargo/remote/BUILD.getrandom-0.2.7.bazel
vendored
|
@ -63,6 +63,7 @@ rust_library(
|
|||
"@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-apple-ios-sim",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-ios",
|
||||
): [
|
||||
|
|
|
@ -63,6 +63,7 @@ rust_library(
|
|||
"@rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin",
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios",
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios-sim",
|
||||
"@rules_rust//rust/platform:x86_64-apple-ios",
|
||||
): [
|
||||
"@raze__core_foundation_sys__0_8_3//:core_foundation_sys",
|
||||
|
|
1
cargo/remote/BUILD.jobserver-0.1.25.bazel
vendored
1
cargo/remote/BUILD.jobserver-0.1.25.bazel
vendored
|
@ -59,6 +59,7 @@ rust_library(
|
|||
"@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-apple-ios-sim",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-ios",
|
||||
): [
|
||||
|
|
1
cargo/remote/BUILD.mio-0.8.4.bazel
vendored
1
cargo/remote/BUILD.mio-0.8.4.bazel
vendored
|
@ -70,6 +70,7 @@ rust_library(
|
|||
"@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-apple-ios-sim",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-ios",
|
||||
): [
|
||||
|
|
2
cargo/remote/BUILD.native-tls-0.2.10.bazel
vendored
2
cargo/remote/BUILD.native-tls-0.2.10.bazel
vendored
|
@ -63,6 +63,7 @@ cargo_build_script(
|
|||
"@rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin",
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios",
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios-sim",
|
||||
"@rules_rust//rust/platform:x86_64-apple-ios",
|
||||
): [
|
||||
"@raze__security_framework_sys__2_6_1//:security_framework_sys",
|
||||
|
@ -121,6 +122,7 @@ rust_library(
|
|||
"@rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin",
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios",
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios-sim",
|
||||
"@rules_rust//rust/platform:x86_64-apple-ios",
|
||||
): [
|
||||
"@raze__lazy_static__1_4_0//:lazy_static",
|
||||
|
|
1
cargo/remote/BUILD.num_cpus-1.13.1.bazel
vendored
1
cargo/remote/BUILD.num_cpus-1.13.1.bazel
vendored
|
@ -61,6 +61,7 @@ rust_library(
|
|||
"@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-apple-ios-sim",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-ios",
|
||||
): [
|
||||
|
|
1
cargo/remote/BUILD.num_threads-0.1.6.bazel
vendored
1
cargo/remote/BUILD.num_threads-0.1.6.bazel
vendored
|
@ -58,6 +58,7 @@ rust_library(
|
|||
"@rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin",
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios",
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios-sim",
|
||||
"@rules_rust//rust/platform:x86_64-apple-ios",
|
||||
): [
|
||||
"@raze__libc__0_2_133//:libc",
|
||||
|
|
|
@ -64,6 +64,7 @@ cargo_build_script(
|
|||
"@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-apple-ios-sim",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-ios",
|
||||
): [
|
||||
|
@ -111,6 +112,7 @@ rust_library(
|
|||
"@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-apple-ios-sim",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-ios",
|
||||
): [
|
||||
|
|
2
cargo/remote/BUILD.rand-0.7.3.bazel
vendored
2
cargo/remote/BUILD.rand-0.7.3.bazel
vendored
|
@ -84,6 +84,7 @@ rust_library(
|
|||
"@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-apple-ios-sim",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-ios",
|
||||
): [
|
||||
|
@ -97,6 +98,7 @@ rust_library(
|
|||
"@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-apple-ios-sim",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-ios",
|
||||
): [
|
||||
|
|
1
cargo/remote/BUILD.rand-0.8.5.bazel
vendored
1
cargo/remote/BUILD.rand-0.8.5.bazel
vendored
|
@ -69,6 +69,7 @@ rust_library(
|
|||
"@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-apple-ios-sim",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-ios",
|
||||
): [
|
||||
|
|
1
cargo/remote/BUILD.reqwest-0.11.3.bazel
vendored
1
cargo/remote/BUILD.reqwest-0.11.3.bazel
vendored
|
@ -104,6 +104,7 @@ rust_library(
|
|||
"@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-apple-ios-sim",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-ios",
|
||||
): [
|
||||
|
|
|
@ -62,6 +62,7 @@ rust_library(
|
|||
(
|
||||
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios",
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios-sim",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-ios",
|
||||
): [
|
||||
|
|
1
cargo/remote/BUILD.socket2-0.4.7.bazel
vendored
1
cargo/remote/BUILD.socket2-0.4.7.bazel
vendored
|
@ -60,6 +60,7 @@ rust_library(
|
|||
"@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-apple-ios-sim",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-ios",
|
||||
): [
|
||||
|
|
1
cargo/remote/BUILD.tempfile-3.3.0.bazel
vendored
1
cargo/remote/BUILD.tempfile-3.3.0.bazel
vendored
|
@ -62,6 +62,7 @@ rust_library(
|
|||
"@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-apple-ios-sim",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-ios",
|
||||
): [
|
||||
|
|
1
cargo/remote/BUILD.time-0.3.14.bazel
vendored
1
cargo/remote/BUILD.time-0.3.14.bazel
vendored
|
@ -73,6 +73,7 @@ rust_library(
|
|||
"@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-apple-ios-sim",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-ios",
|
||||
): [
|
||||
|
|
4
cargo/remote/BUILD.tokio-1.21.1.bazel
vendored
4
cargo/remote/BUILD.tokio-1.21.1.bazel
vendored
|
@ -90,6 +90,7 @@ cargo_build_script(
|
|||
"@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-apple-ios-sim",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-ios",
|
||||
): [
|
||||
|
@ -102,6 +103,7 @@ cargo_build_script(
|
|||
"@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-apple-ios-sim",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-ios",
|
||||
): [
|
||||
|
@ -181,6 +183,7 @@ rust_library(
|
|||
"@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-apple-ios-sim",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-ios",
|
||||
): [
|
||||
|
@ -194,6 +197,7 @@ rust_library(
|
|||
"@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-apple-ios-sim",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-ios",
|
||||
): [
|
||||
|
|
1
cargo/remote/BUILD.utime-0.3.1.bazel
vendored
1
cargo/remote/BUILD.utime-0.3.1.bazel
vendored
|
@ -59,6 +59,7 @@ rust_library(
|
|||
"@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-apple-ios-sim",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-ios",
|
||||
): [
|
||||
|
|
Loading…
Reference in a new issue