about summary refs log tree commit diff
path: root/src/libunwind
diff options
context:
space:
mode:
Diffstat (limited to 'src/libunwind')
-rw-r--r--src/libunwind/build.rs2
-rw-r--r--src/libunwind/lib.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libunwind/build.rs b/src/libunwind/build.rs
index afd1e5e1c5e..11c4c2faf13 100644
--- a/src/libunwind/build.rs
+++ b/src/libunwind/build.rs
@@ -15,7 +15,7 @@ fn main() {
     let target = env::var("TARGET").expect("TARGET was not set");
 
     if target.contains("linux") {
-        if target.contains("musl") && !target.contains("mips") {
+        if target.contains("musl") {
             // musl is handled in lib.rs
         } else if !target.contains("android") {
             println!("cargo:rustc-link-lib=gcc_s");
diff --git a/src/libunwind/lib.rs b/src/libunwind/lib.rs
index 5bb1eb96dcf..5347c781218 100644
--- a/src/libunwind/lib.rs
+++ b/src/libunwind/lib.rs
@@ -35,7 +35,7 @@ cfg_if! {
     }
 }
 
-#[cfg(all(target_env = "musl", not(target_arch = "mips")))]
+#[cfg(target_env = "musl")]
 #[link(name = "unwind", kind = "static", cfg(target_feature = "crt-static"))]
 #[link(name = "gcc_s", cfg(not(target_feature = "crt-static")))]
 extern {}