From bd3fe498e5d1587e8081607731113593cee1c0dc Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Tue, 29 Dec 2015 22:33:58 +0000 Subject: Add support for i686-unknown-linux-musl --- src/libstd/sys/unix/thread.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libstd/sys') 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")), -- cgit 1.4.1-3-g733a5