We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9eac5d commit b4909f6Copy full SHA for b4909f6
src/librustdoc/flock.rs
@@ -84,8 +84,7 @@ mod imp {
84
pub static F_SETLKW: libc::c_int = 9;
85
}
86
87
- #[cfg(target_os = "macos")]
88
- #[cfg(target_os = "ios")]
+ #[cfg(any(target_os = "macos", target_os = "ios"))]
89
mod os {
90
use libc;
91
src/librustdoc/plugins.rs
@@ -85,7 +85,7 @@ fn libname(mut n: String) -> String {
n
-#[cfg(not(target_os="windows"), not(target_os="macos"))]
+#[cfg(all(not(target_os="windows"), not(target_os="macos")))]
fn libname(n: String) -> String {
let mut i = String::from_str("lib");
i.push_str(n.as_slice());
0 commit comments