"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: #108499
+//@ ignore-hurd
// at lower recursion limits the recursion limit is reached before the bug happens
#![recursion_limit = "2000"]
}
}
+#[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
//@ revisions: current next
//@ ignore-compare-mode-next-solver (explicit revisions)
+//@ ignore-hurd
//@[next] compile-flags: -Znext-solver
#![recursion_limit = "1001"]
//@ 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};