Forwarded: no
Gbp-Pq: Topic upstream
Gbp-Pq: Name u-hurd-tests.patch
}
}
+#[cfg(target_os = "hurd")]
+// Debian: test causes build to fail on hurd
+fn main() {
+ return;
+}
+
+#[cfg(not(target_os = "hurd"))]
fn main() {
let tmpdir = PathBuf::from(env::var_os("TMPDIR").unwrap());
let ok = tmpdir.join("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::mpsc::channel;
use std::sync::mpsc::TryRecvError;