From 5846ae2afd76ba1ffaddb9d08f91dfbed30243c4 Mon Sep 17 00:00:00 2001 From: Amanda Tait Date: Wed, 5 Aug 2020 13:25:03 -0400 Subject: Add fuchsia support Allow nix to compile on Fuchsia by conditionally avoiding libc functionality that does not exist for Fuchsia. --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index da517b59..e62c158c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -57,7 +57,7 @@ pub mod net; #[deny(missing_docs)] pub mod poll; #[deny(missing_docs)] -#[cfg(not(target_os = "redox"))] +#[cfg(not(any(target_os = "redox", target_os = "fuchsia")))] pub mod pty; pub mod sched; pub mod sys; -- cgit v1.2.3