From 0498da9a3dc061f604fcfb9b56bd889e07f2b7e2 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Sun, 7 Apr 2019 08:39:54 -0600 Subject: redox: convert to target_family unix --- src/libstd/sys/unix/pipe.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/libstd/sys/unix/pipe.rs') diff --git a/src/libstd/sys/unix/pipe.rs b/src/libstd/sys/unix/pipe.rs index d36e94df63f..029f4216b7e 100644 --- a/src/libstd/sys/unix/pipe.rs +++ b/src/libstd/sys/unix/pipe.rs @@ -26,7 +26,8 @@ pub fn anon_pipe() -> io::Result<(AnonPipe, AnonPipe)> { target_os = "freebsd", target_os = "linux", target_os = "netbsd", - target_os = "openbsd")) && + target_os = "openbsd", + target_os = "redox")) && !INVALID.load(Ordering::SeqCst) { -- cgit 1.4.1-3-g733a5