Skip to content

Commit 56444a4

Browse files
committed
Auto merge of #908 - malbarbo:musl-mips-static, r=alexcrichton
Do not assume dynamic linking in musl/mips targets
2 parents 9613051 + 042b707 commit 56444a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/unix/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ cfg_if! {
276276
} else if #[cfg(feature = "use_std")] {
277277
// cargo build, don't pull in anything extra as the libstd dep
278278
// already pulls in all libs.
279-
} else if #[cfg(any(all(target_env = "musl", not(target_arch = "mips"))))] {
279+
} else if #[cfg(target_env = "musl")] {
280280
#[link(name = "c", kind = "static", cfg(target_feature = "crt-static"))]
281281
#[link(name = "c", cfg(not(target_feature = "crt-static")))]
282282
extern {}

0 commit comments

Comments
 (0)