Skip to content

Commit d2caea2

Browse files
committed
Fix librustc_back
1 parent 448c8bf commit d2caea2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/librustc_back/fs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ pub fn realpath(original: &Path) -> io::IoResult<Path> {
5151
return Ok(result);
5252
}
5353

54-
#[cfg(not(windows), test)]
54+
#[cfg(all(not(windows), test))]
5555
mod test {
5656
use std::io;
5757
use std::io::fs::{File, symlink, mkdir, mkdir_recursive};

src/librustc_back/rpath.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ fn minimize_rpaths(rpaths: &[String]) -> Vec<String> {
147147
minimized
148148
}
149149

150-
#[cfg(unix, test)]
150+
#[cfg(all(unix, test))]
151151
mod test {
152152
use super::{RPathConfig};
153153
use super::{minimize_rpaths, rpaths_to_flags, get_rpath_relative_to_output};

0 commit comments

Comments
 (0)