remove some any
s that are no longer necessary
This commit is contained in:
parent
b38953709d
commit
ea00993990
@ -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 {}
|
||||
|
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user