We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d344477 commit d9eac5dCopy full SHA for d9eac5d
src/librustuv/uvll.rs
@@ -723,12 +723,11 @@ extern {
723
724
// libuv doesn't use pthread on windows
725
// android libc (bionic) provides pthread, so no additional link is required
726
-#[cfg(not(windows), not(target_os = "android"))]
+#[cfg(not(any(windows, target_os = "android")))]
727
#[link(name = "pthread")]
728
extern {}
729
730
-#[cfg(target_os = "linux")]
731
-#[cfg(target_os = "dragonfly")]
+#[cfg(any(target_os = "linux", target_os = "dragonfly"))]
732
#[link(name = "rt")]
733
734
@@ -738,7 +737,6 @@ extern {}
738
737
#[link(name = "iphlpapi")]
739
740
741
-#[cfg(target_os = "freebsd")]
742
+#[cfg(any(target_os = "freebsd", target_os = "dragonfly"))]
743
#[link(name = "kvm")]
744
0 commit comments