remove some any
s that are no longer necessary
This commit is contained in:
parent
b38953709d
commit
ea00993990
2 changed files with 3 additions and 3 deletions
|
@ -19,7 +19,7 @@
|
||||||
//
|
//
|
||||||
// On Linux, librt and libdl are indirect dependencies via std,
|
// On Linux, librt and libdl are indirect dependencies via std,
|
||||||
// and binutils 2.22+ won't add them automatically
|
// 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 = "dl")]
|
||||||
#[link(name = "pthread")]
|
#[link(name = "pthread")]
|
||||||
extern {}
|
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 = "freebsd"),
|
||||||
not(target_os = "macos"),
|
not(target_os = "macos"),
|
||||||
not(target_os = "bitrig"),
|
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 = "freebsd",
|
||||||
target_os = "macos",
|
target_os = "macos",
|
||||||
target_os = "bitrig",
|
target_os = "bitrig",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue