Turn off utmpx and signals for Fuchsia.

Fuchsia uses musl as its libc; musl only has stub implementation
for utmpx. From their wiki, that is deliberately chosen.

Fuchsia doesn't have signals mechanism.
This commit is contained in:
Lei Zhang 2016-11-24 17:15:43 -05:00 committed by Roy Ivy III
parent cf2be8a6b1
commit 3f4dba0de9

View file

@ -16,7 +16,7 @@ pub mod encoding;
#[cfg(feature = "parse_time")] #[cfg(feature = "parse_time")]
pub mod parse_time; pub mod parse_time;
#[cfg(all(unix, feature = "utmpx"))] #[cfg(all(unix, not(target_os = "fuchsia"), feature = "utmpx"))]
pub mod utmpx; pub mod utmpx;
#[cfg(all(unix, feature = "utsname"))] #[cfg(all(unix, feature = "utsname"))]
pub mod utsname; pub mod utsname;
@ -24,7 +24,7 @@ pub mod utsname;
pub mod entries; pub mod entries;
#[cfg(all(unix, feature = "process"))] #[cfg(all(unix, feature = "process"))]
pub mod process; pub mod process;
#[cfg(all(unix, feature = "signals"))] #[cfg(all(unix, not(target_os = "fuchsia"), feature = "signals"))]
pub mod signals; pub mod signals;
#[cfg(all(windows, feature = "wide"))] #[cfg(all(windows, feature = "wide"))]