Fix librustc_back
This commit is contained in:
parent
448c8bf24e
commit
d2caea2beb
@ -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};
|
||||
|
@ -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};
|
||||
|
Loading…
Reference in New Issue
Block a user