commit | 751bea36c70946eaee121c03b8089cbc157b348c | [log] [tgz] |
---|---|---|
author | Jorge Aparicio <japaricious@gmail.com> | Sat Jan 30 01:28:50 2016 -0500 |
committer | Jorge Aparicio <japaricious@gmail.com> | Sat Jan 30 01:28:50 2016 -0500 |
tree | 26023451a10a4fbcf6bb4541dff408e1374e4958 | |
parent | 86cd81ddc974dfa173594bda4aed2435f358d27b [diff] [blame] |
musl: add support for mips
diff --git a/src/unix/mod.rs b/src/unix/mod.rs index 4af99a6..b7882db 100644 --- a/src/unix/mod.rs +++ b/src/unix/mod.rs
@@ -135,7 +135,7 @@ if #[cfg(not(stdbuild))] { // cargo build, don't pull in anything extra as the libstd dep // already pulls in all libs. - } else if #[cfg(target_env = "musl")] { + } else if #[cfg(target_env = "musl", not(target_arch = "mips"))] { #[link(name = "c", kind = "static")] extern {} } else if #[cfg(target_os = "emscripten")] {