about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorJorge Aparicio <japaricious@gmail.com>2016-07-27 11:37:15 -0500
committerJorge Aparicio <japaricious@gmail.com>2016-07-30 15:39:13 -0500
commitea009939904021aaba59f9ca8038b646a65a27d6 (patch)
tree9176666ee9ca753a5bdbd71a8705bf441481a885 /src
parentb38953709d75178db30020c29be0cb4ff2e4be5b (diff)
remove some `any`s that are no longer necessary
Diffstat (limited to 'src')
-rw-r--r--src/libstd/rtdeps.rs2
-rw-r--r--src/libstd/sys/unix/thread.rs4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/libstd/rtdeps.rs b/src/libstd/rtdeps.rs
index c2572dfa5e1..a11200873d5 100644
--- a/src/libstd/rtdeps.rs
+++ b/src/libstd/rtdeps.rs
@@ -19,7 +19,7 @@
 //
 // On Linux, librt and libdl are indirect dependencies via std,
 // and binutils 2.22+ won't add them automatically
-#[cfg(all(target_os = "linux", not(any(target_env = "musl"))))]
+#[cfg(all(target_os = "linux", not(target_env = "musl")))]
 #[link(name = "dl")]
 #[link(name = "pthread")]
 extern {}
diff --git a/src/libstd/sys/unix/thread.rs b/src/libstd/sys/unix/thread.rs
index 65ebce0baa2..1061ca87f64 100644
--- a/src/libstd/sys/unix/thread.rs
+++ b/src/libstd/sys/unix/thread.rs
@@ -171,7 +171,7 @@ impl Drop for Thread {
     }
 }
 
-#[cfg(all(not(all(target_os = "linux", not(any(target_env = "musl")))),
+#[cfg(all(not(all(target_os = "linux", not(target_env = "musl"))),
           not(target_os = "freebsd"),
           not(target_os = "macos"),
           not(target_os = "bitrig"),
@@ -185,7 +185,7 @@ pub mod guard {
 }
 
 
-#[cfg(any(all(target_os = "linux", not(any(target_env = "musl"))),
+#[cfg(any(all(target_os = "linux", not(target_env = "musl")),
           target_os = "freebsd",
           target_os = "macos",
           target_os = "bitrig",