From: Debian Rust Maintainers Date: Thu, 13 Jun 2024 09:16:38 +0000 (+0200) Subject: c-2200-workaround-x32-test X-Git-Tag: archive/raspbian/1.78.0+dfsg1-2+rpi1^2~45 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6d03105b27bb3e7ad69d9686e759deecb9d7213d;p=rustc.git c-2200-workaround-x32-test Bug: https://github.com/rust-lang/cargo/issues/10005 Gbp-Pq: Topic cargo 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 79df55810d..afe23b30fc 100644 --- a/src/tools/cargo/tests/testsuite/cfg.rs +++ b/src/tools/cargo/tests/testsuite/cfg.rs @@ -280,7 +280,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(