Skip to content

Commit 53d11fc

Browse files
committed
Merge pull request #164 from japaric/fix-linkage
musl: fix linkage of libc
2 parents 5863d86 + 7376d09 commit 53d11fc

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
@@ -135,7 +135,7 @@ cfg_if! {
135135
if #[cfg(not(stdbuild))] {
136136
// cargo build, don't pull in anything extra as the libstd dep
137137
// already pulls in all libs.
138-
} else if #[cfg(target_env = "musl", not(target_arch = "mips"))] {
138+
} else if #[cfg(all(target_env = "musl", not(target_arch = "mips")))] {
139139
#[link(name = "c", kind = "static")]
140140
extern {}
141141
} else if #[cfg(target_os = "emscripten")] {

0 commit comments

Comments
 (0)