From 85b7e1c623af7c4b82d5f50ce1a039e86cc9f2d5 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Wed, 9 Dec 2020 15:45:01 +1000 Subject: [PATCH] drop unused i686 references https://forums.ankiweb.net/t/changing-ankis-build-system-to-bazel/4737/9 --- Cargo.toml | 7 +++---- cargo/BUILD.reqwest.bazel | 4 ---- cargo/remote/BUILD.atty-0.2.14.bazel | 3 --- cargo/remote/BUILD.backtrace-0.3.55.bazel | 1 - cargo/remote/BUILD.chrono-0.4.19.bazel | 1 - cargo/remote/BUILD.coarsetime-0.1.18.bazel | 3 --- cargo/remote/BUILD.dirs-sys-0.3.5.bazel | 3 --- cargo/remote/BUILD.getrandom-0.1.15.bazel | 4 ---- cargo/remote/BUILD.hyper-0.13.9.bazel | 2 -- cargo/remote/BUILD.iovec-0.1.4.bazel | 2 -- cargo/remote/BUILD.libsqlite3-sys-0.20.1.bazel | 2 -- cargo/remote/BUILD.mio-0.6.23.bazel | 3 --- cargo/remote/BUILD.native-tls-0.2.6.bazel | 6 ------ cargo/remote/BUILD.net2-0.2.36.bazel | 3 --- cargo/remote/BUILD.num-format-0.4.0.bazel | 3 --- cargo/remote/BUILD.openssl-sys-0.9.58.bazel | 2 -- cargo/remote/BUILD.parking_lot_core-0.8.1.bazel | 3 --- cargo/remote/BUILD.rand-0.7.3.bazel | 2 -- cargo/remote/BUILD.remove_dir_all-0.5.3.bazel | 1 - cargo/remote/BUILD.reqwest-0.10.8.bazel | 4 ---- cargo/remote/BUILD.ring-0.16.19.bazel | 16 ---------------- cargo/remote/BUILD.socket2-0.3.17.bazel | 3 --- cargo/remote/BUILD.tempfile-3.1.0.bazel | 3 --- cargo/remote/BUILD.term-0.6.1.bazel | 1 - cargo/remote/BUILD.termcolor-1.1.2.bazel | 1 - cargo/remote/BUILD.time-0.1.44.bazel | 1 - cargo/remote/BUILD.tokio-0.2.23.bazel | 3 --- cargo/remote/BUILD.tokio-tls-0.3.1.bazel | 3 --- cargo/remote/BUILD.utime-0.3.1.bazel | 3 --- cargo/remote/BUILD.winapi-util-0.1.5.bazel | 1 - platforms/BUILD.bazel | 16 ---------------- pylib/anki/BUILD.bazel | 2 -- 32 files changed, 3 insertions(+), 109 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index d1570a27e..5b246bb7c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,11 +13,10 @@ path = "src/lib.rs" [package.metadata.raze] workspace_path = "//cargo" -#workspace_member_dir = "." +# pull requests that add other targets (eg Arm Linux, FreeBSD) welcome - you'll +# need to update platforms/, BUILD.request.bazel and pylib/anki/BUILD.bazel as +# well. targets = [ - "i686-apple-darwin", - "i686-pc-windows-msvc", - "i686-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-apple-ios", "x86_64-pc-windows-msvc", diff --git a/cargo/BUILD.reqwest.bazel b/cargo/BUILD.reqwest.bazel index e238577cd..00233b80d 100644 --- a/cargo/BUILD.reqwest.bazel +++ b/cargo/BUILD.reqwest.bazel @@ -118,9 +118,6 @@ rust_library( # cfg(not(target_arch = "wasm32")) ( "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", - "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", - "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", - "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", @@ -145,7 +142,6 @@ rust_library( }) + selects.with_or({ # cfg(windows) ( - "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ "@raze__winreg__0_7_0//:winreg", diff --git a/cargo/remote/BUILD.atty-0.2.14.bazel b/cargo/remote/BUILD.atty-0.2.14.bazel index ffac1529f..ca28b785e 100644 --- a/cargo/remote/BUILD.atty-0.2.14.bazel +++ b/cargo/remote/BUILD.atty-0.2.14.bazel @@ -56,8 +56,6 @@ rust_library( # cfg(unix) ( "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", - "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", - "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", @@ -68,7 +66,6 @@ rust_library( }) + selects.with_or({ # cfg(windows) ( - "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ "@raze__winapi__0_3_9//:winapi", diff --git a/cargo/remote/BUILD.backtrace-0.3.55.bazel b/cargo/remote/BUILD.backtrace-0.3.55.bazel index 9d28fa16e..876cc26bd 100644 --- a/cargo/remote/BUILD.backtrace-0.3.55.bazel +++ b/cargo/remote/BUILD.backtrace-0.3.55.bazel @@ -71,7 +71,6 @@ rust_library( ] + selects.with_or({ # cfg(windows) ( - "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ ], diff --git a/cargo/remote/BUILD.chrono-0.4.19.bazel b/cargo/remote/BUILD.chrono-0.4.19.bazel index 33530b283..9f7742391 100644 --- a/cargo/remote/BUILD.chrono-0.4.19.bazel +++ b/cargo/remote/BUILD.chrono-0.4.19.bazel @@ -68,7 +68,6 @@ rust_library( ] + selects.with_or({ # cfg(windows) ( - "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ "@raze__winapi__0_3_9//:winapi", diff --git a/cargo/remote/BUILD.coarsetime-0.1.18.bazel b/cargo/remote/BUILD.coarsetime-0.1.18.bazel index a64f731ff..532e191d0 100644 --- a/cargo/remote/BUILD.coarsetime-0.1.18.bazel +++ b/cargo/remote/BUILD.coarsetime-0.1.18.bazel @@ -55,9 +55,6 @@ rust_library( # cfg(not(target_os = "wasi")) ( "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", - "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", - "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", - "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", diff --git a/cargo/remote/BUILD.dirs-sys-0.3.5.bazel b/cargo/remote/BUILD.dirs-sys-0.3.5.bazel index bc067098d..0775b84a2 100644 --- a/cargo/remote/BUILD.dirs-sys-0.3.5.bazel +++ b/cargo/remote/BUILD.dirs-sys-0.3.5.bazel @@ -54,8 +54,6 @@ rust_library( # cfg(unix) ( "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", - "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", - "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", @@ -66,7 +64,6 @@ rust_library( }) + selects.with_or({ # cfg(windows) ( - "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ "@raze__winapi__0_3_9//:winapi", diff --git a/cargo/remote/BUILD.getrandom-0.1.15.bazel b/cargo/remote/BUILD.getrandom-0.1.15.bazel index 186d47cb5..c1d0cc925 100644 --- a/cargo/remote/BUILD.getrandom-0.1.15.bazel +++ b/cargo/remote/BUILD.getrandom-0.1.15.bazel @@ -60,8 +60,6 @@ cargo_build_script( # cfg(unix) ( "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", - "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", - "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", @@ -100,8 +98,6 @@ rust_library( # cfg(unix) ( "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", - "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", - "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", diff --git a/cargo/remote/BUILD.hyper-0.13.9.bazel b/cargo/remote/BUILD.hyper-0.13.9.bazel index 737190f0c..67b3888af 100644 --- a/cargo/remote/BUILD.hyper-0.13.9.bazel +++ b/cargo/remote/BUILD.hyper-0.13.9.bazel @@ -113,8 +113,6 @@ rust_library( ] + selects.with_or({ # cfg(any(target_os = "linux", target_os = "macos")) ( - "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", - "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", ): [ diff --git a/cargo/remote/BUILD.iovec-0.1.4.bazel b/cargo/remote/BUILD.iovec-0.1.4.bazel index 03d9e359f..4a90d445d 100644 --- a/cargo/remote/BUILD.iovec-0.1.4.bazel +++ b/cargo/remote/BUILD.iovec-0.1.4.bazel @@ -54,8 +54,6 @@ rust_library( # cfg(unix) ( "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", - "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", - "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", diff --git a/cargo/remote/BUILD.libsqlite3-sys-0.20.1.bazel b/cargo/remote/BUILD.libsqlite3-sys-0.20.1.bazel index 25a05d349..c58596d1f 100644 --- a/cargo/remote/BUILD.libsqlite3-sys-0.20.1.bazel +++ b/cargo/remote/BUILD.libsqlite3-sys-0.20.1.bazel @@ -69,7 +69,6 @@ cargo_build_script( ] + selects.with_or({ # cfg(target_env = "msvc") ( - "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ "@raze__vcpkg__0_2_10//:vcpkg", @@ -111,7 +110,6 @@ rust_library( ] + selects.with_or({ # cfg(target_env = "msvc") ( - "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ ], diff --git a/cargo/remote/BUILD.mio-0.6.23.bazel b/cargo/remote/BUILD.mio-0.6.23.bazel index 03549b13f..8db19b3ce 100644 --- a/cargo/remote/BUILD.mio-0.6.23.bazel +++ b/cargo/remote/BUILD.mio-0.6.23.bazel @@ -61,8 +61,6 @@ rust_library( # cfg(unix) ( "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", - "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", - "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", @@ -73,7 +71,6 @@ rust_library( }) + selects.with_or({ # cfg(windows) ( - "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ "@raze__kernel32_sys__0_2_2//:kernel32_sys", diff --git a/cargo/remote/BUILD.native-tls-0.2.6.bazel b/cargo/remote/BUILD.native-tls-0.2.6.bazel index 701e8e973..fb5e436dd 100644 --- a/cargo/remote/BUILD.native-tls-0.2.6.bazel +++ b/cargo/remote/BUILD.native-tls-0.2.6.bazel @@ -59,7 +59,6 @@ cargo_build_script( # cfg(any(target_os = "macos", target_os = "ios")) ( "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", - "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", ): [ @@ -69,7 +68,6 @@ cargo_build_script( }) + selects.with_or({ # cfg(not(any(target_os = "windows", target_os = "macos", target_os = "ios"))) ( - "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", ): [ "@raze__openssl_sys__0_9_58//:openssl_sys", @@ -78,7 +76,6 @@ cargo_build_script( }) + selects.with_or({ # cfg(target_os = "windows") ( - "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ ], @@ -115,7 +112,6 @@ rust_library( # cfg(any(target_os = "macos", target_os = "ios")) ( "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", - "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", ): [ @@ -129,7 +125,6 @@ rust_library( }) + selects.with_or({ # cfg(not(any(target_os = "windows", target_os = "macos", target_os = "ios"))) ( - "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", ): [ "@raze__log__0_4_11//:log", @@ -141,7 +136,6 @@ rust_library( }) + selects.with_or({ # cfg(target_os = "windows") ( - "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ "@raze__schannel__0_1_19//:schannel", diff --git a/cargo/remote/BUILD.net2-0.2.36.bazel b/cargo/remote/BUILD.net2-0.2.36.bazel index fff58984a..955236684 100644 --- a/cargo/remote/BUILD.net2-0.2.36.bazel +++ b/cargo/remote/BUILD.net2-0.2.36.bazel @@ -57,8 +57,6 @@ rust_library( # cfg(any(target_os = "redox", unix, target_os = "wasi")) ( "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", - "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", - "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", @@ -69,7 +67,6 @@ rust_library( }) + selects.with_or({ # cfg(windows) ( - "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ "@raze__winapi__0_3_9//:winapi", diff --git a/cargo/remote/BUILD.num-format-0.4.0.bazel b/cargo/remote/BUILD.num-format-0.4.0.bazel index 79b538263..ef5a842f0 100644 --- a/cargo/remote/BUILD.num-format-0.4.0.bazel +++ b/cargo/remote/BUILD.num-format-0.4.0.bazel @@ -58,8 +58,6 @@ rust_library( # cfg(unix) ( "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", - "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", - "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", @@ -69,7 +67,6 @@ rust_library( }) + selects.with_or({ # cfg(windows) ( - "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ ], diff --git a/cargo/remote/BUILD.openssl-sys-0.9.58.bazel b/cargo/remote/BUILD.openssl-sys-0.9.58.bazel index 7ba7a3e51..c87ff772b 100644 --- a/cargo/remote/BUILD.openssl-sys-0.9.58.bazel +++ b/cargo/remote/BUILD.openssl-sys-0.9.58.bazel @@ -61,7 +61,6 @@ cargo_build_script( ] + selects.with_or({ # cfg(target_env = "msvc") ( - "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ "@raze__vcpkg__0_2_10//:vcpkg", @@ -95,7 +94,6 @@ rust_library( ] + selects.with_or({ # cfg(target_env = "msvc") ( - "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ ], diff --git a/cargo/remote/BUILD.parking_lot_core-0.8.1.bazel b/cargo/remote/BUILD.parking_lot_core-0.8.1.bazel index 7a8469a77..78a64011d 100644 --- a/cargo/remote/BUILD.parking_lot_core-0.8.1.bazel +++ b/cargo/remote/BUILD.parking_lot_core-0.8.1.bazel @@ -57,8 +57,6 @@ rust_library( # cfg(unix) ( "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", - "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", - "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", @@ -69,7 +67,6 @@ rust_library( }) + selects.with_or({ # cfg(windows) ( - "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ "@raze__winapi__0_3_9//:winapi", diff --git a/cargo/remote/BUILD.rand-0.7.3.bazel b/cargo/remote/BUILD.rand-0.7.3.bazel index 59099256d..6ffa9d328 100644 --- a/cargo/remote/BUILD.rand-0.7.3.bazel +++ b/cargo/remote/BUILD.rand-0.7.3.bazel @@ -76,8 +76,6 @@ rust_library( # cfg(unix) ( "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", - "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", - "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", diff --git a/cargo/remote/BUILD.remove_dir_all-0.5.3.bazel b/cargo/remote/BUILD.remove_dir_all-0.5.3.bazel index fb69dad67..f99675eff 100644 --- a/cargo/remote/BUILD.remove_dir_all-0.5.3.bazel +++ b/cargo/remote/BUILD.remove_dir_all-0.5.3.bazel @@ -53,7 +53,6 @@ rust_library( ] + selects.with_or({ # cfg(windows) ( - "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ "@raze__winapi__0_3_9//:winapi", diff --git a/cargo/remote/BUILD.reqwest-0.10.8.bazel b/cargo/remote/BUILD.reqwest-0.10.8.bazel index 662e26e17..c943195ec 100644 --- a/cargo/remote/BUILD.reqwest-0.10.8.bazel +++ b/cargo/remote/BUILD.reqwest-0.10.8.bazel @@ -93,9 +93,6 @@ rust_library( # cfg(not(target_arch = "wasm32")) ( "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", - "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", - "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", - "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", @@ -127,7 +124,6 @@ rust_library( }) + selects.with_or({ # cfg(windows) ( - "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ "@raze__winreg__0_7_0//:winreg", diff --git a/cargo/remote/BUILD.ring-0.16.19.bazel b/cargo/remote/BUILD.ring-0.16.19.bazel index 981cfb370..b4f1b3cbc 100644 --- a/cargo/remote/BUILD.ring-0.16.19.bazel +++ b/cargo/remote/BUILD.ring-0.16.19.bazel @@ -63,9 +63,6 @@ cargo_build_script( ] + selects.with_or({ # cfg(any(target_arch = "x86", target_arch = "x86_64", all(any(target_arch = "aarch64", target_arch = "arm"), any(target_os = "android", target_os = "fuchsia", target_os = "linux")))) ( - "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", - "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", - "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", @@ -76,7 +73,6 @@ cargo_build_script( }) + selects.with_or({ # cfg(any(target_os = "android", target_os = "linux")) ( - "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", ): [ ], @@ -85,9 +81,6 @@ cargo_build_script( # cfg(any(unix, windows)) ( "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", - "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", - "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", - "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", @@ -98,7 +91,6 @@ cargo_build_script( }) + selects.with_or({ # cfg(target_os = "windows") ( - "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ ], @@ -136,9 +128,6 @@ rust_library( ] + selects.with_or({ # cfg(any(target_arch = "x86", target_arch = "x86_64", all(any(target_arch = "aarch64", target_arch = "arm"), any(target_os = "android", target_os = "fuchsia", target_os = "linux")))) ( - "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", - "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", - "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", @@ -150,7 +139,6 @@ rust_library( }) + selects.with_or({ # cfg(any(target_os = "android", target_os = "linux")) ( - "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", ): [ "@raze__libc__0_2_81//:libc", @@ -161,9 +149,6 @@ rust_library( # cfg(any(unix, windows)) ( "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", - "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", - "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", - "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", @@ -174,7 +159,6 @@ rust_library( }) + selects.with_or({ # cfg(target_os = "windows") ( - "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ "@raze__winapi__0_3_9//:winapi", diff --git a/cargo/remote/BUILD.socket2-0.3.17.bazel b/cargo/remote/BUILD.socket2-0.3.17.bazel index 8fc04ca32..92d05ecae 100644 --- a/cargo/remote/BUILD.socket2-0.3.17.bazel +++ b/cargo/remote/BUILD.socket2-0.3.17.bazel @@ -54,8 +54,6 @@ rust_library( # cfg(any(unix, target_os = "redox")) ( "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", - "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", - "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", @@ -67,7 +65,6 @@ rust_library( }) + selects.with_or({ # cfg(windows) ( - "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ "@raze__winapi__0_3_9//:winapi", diff --git a/cargo/remote/BUILD.tempfile-3.1.0.bazel b/cargo/remote/BUILD.tempfile-3.1.0.bazel index 20a7c215b..3c20d3a58 100644 --- a/cargo/remote/BUILD.tempfile-3.1.0.bazel +++ b/cargo/remote/BUILD.tempfile-3.1.0.bazel @@ -57,8 +57,6 @@ rust_library( # cfg(unix) ( "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", - "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", - "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", @@ -69,7 +67,6 @@ rust_library( }) + selects.with_or({ # cfg(windows) ( - "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ "@raze__winapi__0_3_9//:winapi", diff --git a/cargo/remote/BUILD.term-0.6.1.bazel b/cargo/remote/BUILD.term-0.6.1.bazel index 23bc71803..c678de63f 100644 --- a/cargo/remote/BUILD.term-0.6.1.bazel +++ b/cargo/remote/BUILD.term-0.6.1.bazel @@ -55,7 +55,6 @@ rust_library( ] + selects.with_or({ # cfg(windows) ( - "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ "@raze__winapi__0_3_9//:winapi", diff --git a/cargo/remote/BUILD.termcolor-1.1.2.bazel b/cargo/remote/BUILD.termcolor-1.1.2.bazel index 0f9fc1070..c4ce2d38b 100644 --- a/cargo/remote/BUILD.termcolor-1.1.2.bazel +++ b/cargo/remote/BUILD.termcolor-1.1.2.bazel @@ -53,7 +53,6 @@ rust_library( ] + selects.with_or({ # cfg(windows) ( - "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ "@raze__winapi_util__0_1_5//:winapi_util", diff --git a/cargo/remote/BUILD.time-0.1.44.bazel b/cargo/remote/BUILD.time-0.1.44.bazel index ec4f3f48f..3b67c11c3 100644 --- a/cargo/remote/BUILD.time-0.1.44.bazel +++ b/cargo/remote/BUILD.time-0.1.44.bazel @@ -54,7 +54,6 @@ rust_library( ] + selects.with_or({ # cfg(windows) ( - "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ "@raze__winapi__0_3_9//:winapi", diff --git a/cargo/remote/BUILD.tokio-0.2.23.bazel b/cargo/remote/BUILD.tokio-0.2.23.bazel index f5f8c8bde..966067c03 100644 --- a/cargo/remote/BUILD.tokio-0.2.23.bazel +++ b/cargo/remote/BUILD.tokio-0.2.23.bazel @@ -83,8 +83,6 @@ rust_library( # cfg(unix) ( "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", - "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", - "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", @@ -94,7 +92,6 @@ rust_library( }) + selects.with_or({ # cfg(windows) ( - "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ ], diff --git a/cargo/remote/BUILD.tokio-tls-0.3.1.bazel b/cargo/remote/BUILD.tokio-tls-0.3.1.bazel index cce2cc283..de4dd09ae 100644 --- a/cargo/remote/BUILD.tokio-tls-0.3.1.bazel +++ b/cargo/remote/BUILD.tokio-tls-0.3.1.bazel @@ -59,7 +59,6 @@ rust_library( ] + selects.with_or({ # cfg(all(not(target_os = "macos"), not(windows), not(target_os = "ios"))) ( - "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", ): [ ], @@ -68,7 +67,6 @@ rust_library( # cfg(any(target_os = "macos", target_os = "ios")) ( "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", - "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", ): [ @@ -77,7 +75,6 @@ rust_library( }) + selects.with_or({ # cfg(windows) ( - "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ ], diff --git a/cargo/remote/BUILD.utime-0.3.1.bazel b/cargo/remote/BUILD.utime-0.3.1.bazel index ba397ca0c..1eb0b98aa 100644 --- a/cargo/remote/BUILD.utime-0.3.1.bazel +++ b/cargo/remote/BUILD.utime-0.3.1.bazel @@ -54,8 +54,6 @@ rust_library( # cfg(unix) ( "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", - "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", - "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", @@ -66,7 +64,6 @@ rust_library( }) + selects.with_or({ # cfg(windows) ( - "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ "@raze__winapi__0_3_9//:winapi", diff --git a/cargo/remote/BUILD.winapi-util-0.1.5.bazel b/cargo/remote/BUILD.winapi-util-0.1.5.bazel index 4db57b524..287ecf98e 100644 --- a/cargo/remote/BUILD.winapi-util-0.1.5.bazel +++ b/cargo/remote/BUILD.winapi-util-0.1.5.bazel @@ -53,7 +53,6 @@ rust_library( ] + selects.with_or({ # cfg(windows) ( - "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ "@raze__winapi__0_3_9//:winapi", diff --git a/platforms/BUILD.bazel b/platforms/BUILD.bazel index ada571fb6..fc44cb912 100644 --- a/platforms/BUILD.bazel +++ b/platforms/BUILD.bazel @@ -1,13 +1,5 @@ package(default_visibility = ["//visibility:public"]) -config_setting( - name = "windows_x86_32", - constraint_values = [ - "@platforms//os:windows", - "@platforms//cpu:x86_32", - ], -) - config_setting( name = "windows_x86_64", constraint_values = [ @@ -31,11 +23,3 @@ config_setting( "@platforms//cpu:x86_64", ], ) - -config_setting( - name = "linux_x86_32", - constraint_values = [ - "@platforms//os:linux", - "@platforms//cpu:x86_32", - ], -) diff --git a/pylib/anki/BUILD.bazel b/pylib/anki/BUILD.bazel index 7688b523d..c7da6ca0c 100644 --- a/pylib/anki/BUILD.bazel +++ b/pylib/anki/BUILD.bazel @@ -59,7 +59,6 @@ alias( actual = selects.with_or({ ( "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", - "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", ): ":rsbridge_win", "//conditions:default": ":rsbridge_unix", }), @@ -109,7 +108,6 @@ py_wheel( "//platforms:windows_x86_64": "win_amd64", "//platforms:macos_x86_64": "macosx_10_7_x86_64", "//platforms:linux_x86_64": "manylinux2014_x86_64", - "//platforms:linux_x86_32": "manylinux2014_i686", }), python_tag = "cp38", python_version = ">=3.8",