"ignore-gnu",
"ignore-haiku",
"ignore-horizon",
+ "ignore-hurd",
"ignore-i686-pc-windows-gnu",
"ignore-i686-pc-windows-msvc",
"ignore-illumos",
assert!(check_ignore(&config, "//@ ignore-x86_64-unknown-linux-gnu"));
assert!(check_ignore(&config, "//@ ignore-x86_64"));
assert!(check_ignore(&config, "//@ ignore-linux"));
+ assert!(check_ignore(&config, "//@ ignore-hurd"));
assert!(check_ignore(&config, "//@ ignore-unix"));
assert!(check_ignore(&config, "//@ ignore-gnu"));
assert!(check_ignore(&config, "//@ ignore-64bit"));
//@ known-bug: #115994
//@ compile-flags: -Cdebuginfo=2 --crate-type lib
+//@ ignore-hurd
// To prevent "overflow while adding drop-check rules".
use std::mem::ManuallyDrop;
}
}
+#[cfg(target_os = "hurd")]
+// Debian: test causes build to fail on hurd
+fn main() {
+ return;
+}
+
+#[cfg(not(target_os = "hurd"))]
fn main() {
let ok = PathBuf::from("ok");
if env::var("YOU_ARE_A_LINKER").is_ok() {
//@ build-pass
// ignore-tidy-linelength
+//@ ignore-hurd
// Regression for #93775, needs build-pass to test it.
//@ build-pass
// ignore-tidy-filelength
+//@ ignore-hurd
#![crate_type = "rlib"]
fn banana(v: &str) -> u32 {
//@ run-pass
//@ compile-flags:--test
//@ needs-threads
+//@ ignore-hurd
use std::sync::atomic::{AtomicUsize, Ordering};
use std::sync::mpsc::{channel, RecvError, RecvTimeoutError, TryRecvError};