Fix librustc_back

This commit is contained in:
Steven Fackler 2014-09-28 23:38:54 -07:00 committed by Steven Fackler
parent 448c8bf24e
commit d2caea2beb
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ pub fn realpath(original: &Path) -> io::IoResult<Path> {
return Ok(result);
}
#[cfg(not(windows), test)]
#[cfg(all(not(windows), test))]
mod test {
use std::io;
use std::io::fs::{File, symlink, mkdir, mkdir_recursive};

View File

@ -147,7 +147,7 @@ fn minimize_rpaths(rpaths: &[String]) -> Vec<String> {
minimized
}
#[cfg(unix, test)]
#[cfg(all(unix, test))]
mod test {
use super::{RPathConfig};
use super::{minimize_rpaths, rpaths_to_flags, get_rpath_relative_to_output};