Remove unreachable fuchsia branches

This commit is contained in:
gnzlbg 2018-11-27 11:02:56 +01:00
parent aee584c3c0
commit 9acd5ea4cc
3 changed files with 4 additions and 10 deletions

View File

@ -347,10 +347,6 @@ cfg_if! {
#[link(name = "root")]
#[link(name = "network")]
extern {}
} else if #[cfg(target_os = "fuchsia")] {
#[link(name = "c")]
#[link(name = "fdio")]
extern {}
} else if #[cfg(target_env = "newlib")] {
#[link(name = "c")]
#[link(name = "m")]
@ -1126,8 +1122,7 @@ cfg_if! {
pub use self::newlib::*;
} else if #[cfg(any(target_os = "linux",
target_os = "android",
target_os = "emscripten",
target_os = "fuchsia"))] {
target_os = "emscripten"))] {
mod notbsd;
pub use self::notbsd::*;
} else if #[cfg(any(target_os = "macos",

View File

@ -2242,7 +2242,7 @@ extern {
}
cfg_if! {
if #[cfg(any(target_env = "musl", target_os = "fuchsia"))] {
if #[cfg(target_env = "musl")] {
mod musl;
pub use self::musl::*;
} else if #[cfg(any(target_arch = "mips",

View File

@ -53,8 +53,7 @@ s! {
pub ai_addrlen: socklen_t,
#[cfg(any(target_os = "linux",
target_os = "emscripten",
target_os = "fuchsia"))]
target_os = "emscripten"))]
pub ai_addr: *mut ::sockaddr,
pub ai_canonname: *mut c_char,
@ -1235,7 +1234,7 @@ cfg_if! {
if #[cfg(target_os = "emscripten")] {
mod emscripten;
pub use self::emscripten::*;
} else if #[cfg(any(target_os = "linux", target_os = "fuchsia"))] {
} else if #[cfg(target_os = "linux")] {
mod linux;
pub use self::linux::*;
} else if #[cfg(target_os = "android")] {