diff --git a/src/unix/mod.rs b/src/unix/mod.rs index 496bb738a59265e6852f1906f266714109cf35cf..0d344edc5fbd2e5ae350e9d5c10d4c1781336b90 100644 --- a/src/unix/mod.rs +++ b/src/unix/mod.rs @@ -276,7 +276,7 @@ cfg_if! { } else if #[cfg(feature = "use_std")] { // cargo build, don't pull in anything extra as the libstd dep // already pulls in all libs. - } else if #[cfg(any(all(target_env = "musl", not(target_arch = "mips"))))] { + } else if #[cfg(target_env = "musl")] { #[link(name = "c", kind = "static", cfg(target_feature = "crt-static"))] #[link(name = "c", cfg(not(target_feature = "crt-static")))] extern {}