see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=973414 , might need to be
adapted to reduce the baseline again
Forwarded: not-needed
===================================================================
Gbp-Pq: Topic behaviour
Gbp-Pq: Name d-rustc-i686-baseline.patch
pub fn target() -> Target {
let mut base = base::linux_gnu::opts();
- base.cpu = "pentium4".into();
+ base.cpu = "pentiumpro".into();
base.max_atomic_width = Some(64);
base.supported_sanitizers = SanitizerSet::ADDRESS;
base.add_pre_link_args(LinkerFlavor::Gnu(Cc::Yes, Lld::No), &["-m32"]);
match std::env::var("TARGET") {
Ok(s) => {
// Skip this tests on i586-unknown-linux-gnu where sse2 is disabled
- if s.contains("i586") {
+ // Debian: our i686 doesn't have SSE 2..
+ if s.contains("i586") || s.contains("i686") {
return
}
}
}
Err(_) => return,
}
- if cfg!(any(target_arch = "x86", target_arch = "x86_64")) {
+ if cfg!(any(target_arch = "x86_64")) {
assert!(cfg!(target_feature = "sse2"),
"SSE2 was not detected as available on an x86 platform");
}