We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 448c8bf commit d2caea2Copy full SHA for d2caea2
src/librustc_back/fs.rs
@@ -51,7 +51,7 @@ pub fn realpath(original: &Path) -> io::IoResult<Path> {
51
return Ok(result);
52
}
53
54
-#[cfg(not(windows), test)]
+#[cfg(all(not(windows), test))]
55
mod test {
56
use std::io;
57
use std::io::fs::{File, symlink, mkdir, mkdir_recursive};
src/librustc_back/rpath.rs
@@ -147,7 +147,7 @@ fn minimize_rpaths(rpaths: &[String]) -> Vec<String> {
147
minimized
148
149
150
-#[cfg(unix, test)]
+#[cfg(all(unix, test))]
151
152
use super::{RPathConfig};
153
use super::{minimize_rpaths, rpaths_to_flags, get_rpath_relative_to_output};
0 commit comments