about summary refs log tree commit diff
path: root/src/libstd/sys
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2015-12-29 22:33:58 +0000
committerBrian Anderson <banderson@mozilla.com>2016-02-06 20:56:31 +0000
commitbd3fe498e5d1587e8081607731113593cee1c0dc (patch)
tree0cd74833355be8385ac8a5af8d962ea03797e115 /src/libstd/sys
parent81ba4a78b506c71daa66b2be9c12c10aa97830ce (diff)
downloadrust-bd3fe498e5d1587e8081607731113593cee1c0dc.tar.gz
rust-bd3fe498e5d1587e8081607731113593cee1c0dc.zip
Add support for i686-unknown-linux-musl
Diffstat (limited to 'src/libstd/sys')
-rw-r--r--src/libstd/sys/unix/thread.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/sys/unix/thread.rs b/src/libstd/sys/unix/thread.rs
index 883aae8120e..9d74bcb5824 100644
--- a/src/libstd/sys/unix/thread.rs
+++ b/src/libstd/sys/unix/thread.rs
@@ -168,7 +168,7 @@ impl Drop for Thread {
     }
 }
 
-#[cfg(all(not(target_os = "linux"),
+#[cfg(all(not(all(target_os = "linux", not(target_env = "musl"))),
           not(target_os = "macos"),
           not(target_os = "bitrig"),
           not(all(target_os = "netbsd", not(target_vendor = "rumprun"))),
@@ -181,7 +181,7 @@ pub mod guard {
 }
 
 
-#[cfg(any(target_os = "linux",
+#[cfg(any(all(target_os = "linux", not(target_env = "musl")),
           target_os = "macos",
           target_os = "bitrig",
           all(target_os = "netbsd", not(target_vendor = "rumprun")),