remove some anys that are no longer necessary

This commit is contained in:
Jorge Aparicio 2016-07-27 11:37:15 -05:00
parent b38953709d
commit ea00993990
2 changed files with 3 additions and 3 deletions

View File

@ -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 {}

View File

@ -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",