From 042b7070bc9a55741f73dc7b5210d9e417a59332 Mon Sep 17 00:00:00 2001 From: Marco A L Barbosa <malbarbo@gmail.com> Date: Mon, 22 Jan 2018 15:38:05 -0200 Subject: [PATCH] Do not assume dynamic linking in musl mips --- src/unix/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unix/mod.rs b/src/unix/mod.rs index 496bb738..0d344edc 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 {} -- GitLab