mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
add aarch64-apple to Rust targets
This commit is contained in:
parent
6f4b76ef01
commit
7797f88553
24 changed files with 30 additions and 0 deletions
|
@ -25,6 +25,7 @@ targets = [
|
|||
"x86_64-apple-ios",
|
||||
"x86_64-pc-windows-msvc",
|
||||
"x86_64-unknown-linux-gnu",
|
||||
"aarch64-apple-darwin",
|
||||
"aarch64-apple-ios",
|
||||
"aarch64-unknown-linux-gnu",
|
||||
]
|
||||
|
|
|
@ -88,6 +88,7 @@ rust_library(
|
|||
] + selects.with_or({
|
||||
# cfg(not(target_arch = "wasm32"))
|
||||
(
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin",
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
|
|
2
cargo/remote/BUILD.ahash-0.7.4.bazel
vendored
2
cargo/remote/BUILD.ahash-0.7.4.bazel
vendored
|
@ -60,6 +60,7 @@ cargo_build_script(
|
|||
] + selects.with_or({
|
||||
# cfg(any(target_os = "linux", target_os = "android", target_os = "windows", target_os = "macos", target_os = "ios", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd", target_os = "dragonfly", target_os = "solaris", target_os = "illumos", target_os = "fuchsia", target_os = "redox", target_os = "cloudabi", target_os = "haiku", target_os = "vxworks", target_os = "emscripten", target_os = "wasi"))
|
||||
(
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin",
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
|
@ -101,6 +102,7 @@ rust_library(
|
|||
] + selects.with_or({
|
||||
# cfg(any(target_os = "linux", target_os = "android", target_os = "windows", target_os = "macos", target_os = "ios", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd", target_os = "dragonfly", target_os = "solaris", target_os = "illumos", target_os = "fuchsia", target_os = "redox", target_os = "cloudabi", target_os = "haiku", target_os = "vxworks", target_os = "emscripten", target_os = "wasi"))
|
||||
(
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin",
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
|
|
1
cargo/remote/BUILD.atty-0.2.14.bazel
vendored
1
cargo/remote/BUILD.atty-0.2.14.bazel
vendored
|
@ -56,6 +56,7 @@ rust_library(
|
|||
] + selects.with_or({
|
||||
# cfg(unix)
|
||||
(
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin",
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
|
|
1
cargo/remote/BUILD.coarsetime-0.1.19.bazel
vendored
1
cargo/remote/BUILD.coarsetime-0.1.19.bazel
vendored
|
@ -55,6 +55,7 @@ rust_library(
|
|||
] + selects.with_or({
|
||||
# cfg(not(target_os = "wasi"))
|
||||
(
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin",
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
|
|
1
cargo/remote/BUILD.dirs-sys-next-0.1.2.bazel
vendored
1
cargo/remote/BUILD.dirs-sys-next-0.1.2.bazel
vendored
|
@ -54,6 +54,7 @@ rust_library(
|
|||
] + selects.with_or({
|
||||
# cfg(unix)
|
||||
(
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin",
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
|
|
2
cargo/remote/BUILD.getrandom-0.1.16.bazel
vendored
2
cargo/remote/BUILD.getrandom-0.1.16.bazel
vendored
|
@ -60,6 +60,7 @@ cargo_build_script(
|
|||
] + selects.with_or({
|
||||
# cfg(unix)
|
||||
(
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin",
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
|
@ -100,6 +101,7 @@ rust_library(
|
|||
] + selects.with_or({
|
||||
# cfg(unix)
|
||||
(
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin",
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
|
|
1
cargo/remote/BUILD.getrandom-0.2.3.bazel
vendored
1
cargo/remote/BUILD.getrandom-0.2.3.bazel
vendored
|
@ -58,6 +58,7 @@ rust_library(
|
|||
] + selects.with_or({
|
||||
# cfg(unix)
|
||||
(
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin",
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
|
|
1
cargo/remote/BUILD.hyper-0.14.13.bazel
vendored
1
cargo/remote/BUILD.hyper-0.14.13.bazel
vendored
|
@ -122,6 +122,7 @@ rust_library(
|
|||
] + selects.with_or({
|
||||
# cfg(any(target_os = "linux", target_os = "macos"))
|
||||
(
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
|
||||
|
|
1
cargo/remote/BUILD.mio-0.7.13.bazel
vendored
1
cargo/remote/BUILD.mio-0.7.13.bazel
vendored
|
@ -67,6 +67,7 @@ rust_library(
|
|||
] + selects.with_or({
|
||||
# cfg(unix)
|
||||
(
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin",
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
|
|
2
cargo/remote/BUILD.native-tls-0.2.8.bazel
vendored
2
cargo/remote/BUILD.native-tls-0.2.8.bazel
vendored
|
@ -59,6 +59,7 @@ cargo_build_script(
|
|||
] + selects.with_or({
|
||||
# cfg(any(target_os = "macos", target_os = "ios"))
|
||||
(
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin",
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios",
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
"@rules_rust//rust/platform:x86_64-apple-ios",
|
||||
|
@ -114,6 +115,7 @@ rust_library(
|
|||
] + selects.with_or({
|
||||
# cfg(any(target_os = "macos", target_os = "ios"))
|
||||
(
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin",
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios",
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
"@rules_rust//rust/platform:x86_64-apple-ios",
|
||||
|
|
1
cargo/remote/BUILD.num-format-0.4.0.bazel
vendored
1
cargo/remote/BUILD.num-format-0.4.0.bazel
vendored
|
@ -58,6 +58,7 @@ rust_library(
|
|||
] + selects.with_or({
|
||||
# cfg(unix)
|
||||
(
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin",
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
|
|
|
@ -59,6 +59,7 @@ cargo_build_script(
|
|||
] + selects.with_or({
|
||||
# cfg(unix)
|
||||
(
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin",
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
|
@ -105,6 +106,7 @@ rust_library(
|
|||
] + selects.with_or({
|
||||
# cfg(unix)
|
||||
(
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin",
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
|
|
1
cargo/remote/BUILD.rand-0.7.3.bazel
vendored
1
cargo/remote/BUILD.rand-0.7.3.bazel
vendored
|
@ -79,6 +79,7 @@ rust_library(
|
|||
] + selects.with_or({
|
||||
# cfg(unix)
|
||||
(
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin",
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
|
|
1
cargo/remote/BUILD.rand-0.8.4.bazel
vendored
1
cargo/remote/BUILD.rand-0.8.4.bazel
vendored
|
@ -65,6 +65,7 @@ rust_library(
|
|||
] + selects.with_or({
|
||||
# cfg(unix)
|
||||
(
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin",
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
|
|
1
cargo/remote/BUILD.reqwest-0.11.3.bazel
vendored
1
cargo/remote/BUILD.reqwest-0.11.3.bazel
vendored
|
@ -98,6 +98,7 @@ rust_library(
|
|||
] + selects.with_or({
|
||||
# cfg(not(target_arch = "wasm32"))
|
||||
(
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin",
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
|
|
2
cargo/remote/BUILD.ring-0.16.20.bazel
vendored
2
cargo/remote/BUILD.ring-0.16.20.bazel
vendored
|
@ -84,6 +84,7 @@ cargo_build_script(
|
|||
}) + 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-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
|
@ -156,6 +157,7 @@ rust_library(
|
|||
}) + 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-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
|
|
|
@ -70,6 +70,7 @@ rust_library(
|
|||
}) + selects.with_or({
|
||||
# cfg(target_os = "macos")
|
||||
(
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin",
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
): [
|
||||
"@raze__security_framework__2_4_2//:security_framework",
|
||||
|
|
1
cargo/remote/BUILD.socket2-0.4.2.bazel
vendored
1
cargo/remote/BUILD.socket2-0.4.2.bazel
vendored
|
@ -54,6 +54,7 @@ rust_library(
|
|||
] + selects.with_or({
|
||||
# cfg(unix)
|
||||
(
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin",
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
|
|
1
cargo/remote/BUILD.tempfile-3.2.0.bazel
vendored
1
cargo/remote/BUILD.tempfile-3.2.0.bazel
vendored
|
@ -57,6 +57,7 @@ rust_library(
|
|||
] + selects.with_or({
|
||||
# cfg(unix)
|
||||
(
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin",
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
|
|
2
cargo/remote/BUILD.tokio-1.12.0.bazel
vendored
2
cargo/remote/BUILD.tokio-1.12.0.bazel
vendored
|
@ -76,6 +76,7 @@ cargo_build_script(
|
|||
] + selects.with_or({
|
||||
# cfg(unix)
|
||||
(
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin",
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
|
@ -143,6 +144,7 @@ rust_library(
|
|||
] + selects.with_or({
|
||||
# cfg(unix)
|
||||
(
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin",
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
|
|
|
@ -68,6 +68,7 @@ rust_library(
|
|||
}) + selects.with_or({
|
||||
# cfg(any(target_os = "macos", target_os = "ios"))
|
||||
(
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin",
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios",
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
"@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
|
@ -54,6 +54,7 @@ rust_library(
|
|||
] + selects.with_or({
|
||||
# cfg(unix)
|
||||
(
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin",
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios",
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
|
|
|
@ -21,6 +21,7 @@ rust_library(
|
|||
rustc_flags = selects.with_or({
|
||||
(
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin",
|
||||
): [
|
||||
"-Clink-arg=-undefined",
|
||||
"-Clink-arg=dynamic_lookup",
|
||||
|
|
Loading…
Reference in a new issue