Add a special FIXME for subduing warnings in rpath.rs
This commit is contained in:
parent
dfb5c10dea
commit
bc3bee410a
1 changed files with 6 additions and 1 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue