From: Debian Rust Maintainers Date: Mon, 27 May 2024 11:28:20 +0000 (+0200) Subject: c-2200-workaround-x32-test X-Git-Tag: archive/raspbian/1.72.1+dfsg1-1+rpi1^2~44 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=9a3122bc3cea89fc482bb449ee40161654fd3b8d;p=rustc.git c-2200-workaround-x32-test Bug: https://github.com/rust-lang/cargo/issues/10005 Gbp-Pq: Name c-2200-workaround-x32-test.patch --- diff --git a/src/tools/cargo/tests/testsuite/cfg.rs b/src/tools/cargo/tests/testsuite/cfg.rs index dcce654025..c9e2e0cdf4 100644 --- a/src/tools/cargo/tests/testsuite/cfg.rs +++ b/src/tools/cargo/tests/testsuite/cfg.rs @@ -272,7 +272,7 @@ fn any_ok() { // https://github.com/rust-lang/cargo/issues/5313 #[cargo_test] -#[cfg(all(target_arch = "x86_64", target_os = "linux", target_env = "gnu"))] +#[cfg(all(target_arch = "x86_64", target_os = "linux", target_env = "gnu", target_pointer_width = "64"))] fn cfg_looks_at_rustflags_for_target() { let p = project() .file(