diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2013-02-28 02:27:18 -0500 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2013-03-04 12:27:01 -0500 |
| commit | bc3bee410a6967942d18cef59a781603a7db86e4 (patch) | |
| tree | caaea06fb7614098a20d66ca7515f82c64fa9699 /src | |
| parent | dfb5c10dea0dd7bc56950148fa23fd02a07706fa (diff) | |
Add a special FIXME for subduing warnings in rpath.rs
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc/back/rpath.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/librustc/back/rpath.rs b/src/librustc/back/rpath.rs index 982d29ad9fc..669cb669fe1 100644 --- a/src/librustc/back/rpath.rs +++ b/src/librustc/back/rpath.rs @@ -198,10 +198,15 @@ pub fn minimize_rpaths(rpaths: &[Path]) -> ~[Path] { #[cfg(unix)] mod test { + // FIXME(#2119): the outer attribute should be #[cfg(unix, test)], then + // these redundant #[cfg(test)] blocks can be removed + #[cfg(test)] use core::prelude::*; - + #[cfg(test)] use back::rpath::{get_absolute_rpath, get_install_prefix_rpath}; + #[cfg(test)] use back::rpath::{get_relative_to, get_rpath_relative_to_output}; + #[cfg(test)] use back::rpath::{minimize_rpaths, rpaths_to_flags}; #[test] |
