Skip to content

Commit 7c0416c

Browse files
committed
---
yaml --- r: 47443 b: refs/heads/try c: bc3bee4 h: refs/heads/master i: 47441: bd5df98 47439: 1622b31 v: v3
1 parent ef9ee88 commit 7c0416c

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 3bbcac322669cff3abde5be937cc4ec3860f3985
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: a6d9689399d091c3265f00434a69c551a61c28dc
5-
refs/heads/try: dfb5c10dea0dd7bc56950148fa23fd02a07706fa
5+
refs/heads/try: bc3bee410a6967942d18cef59a781603a7db86e4
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/librustc/back/rpath.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,10 +198,15 @@ pub fn minimize_rpaths(rpaths: &[Path]) -> ~[Path] {
198198
199199
#[cfg(unix)]
200200
mod test {
201+
// FIXME(#2119): the outer attribute should be #[cfg(unix, test)], then
202+
// these redundant #[cfg(test)] blocks can be removed
203+
#[cfg(test)]
201204
use core::prelude::*;
202-
205+
#[cfg(test)]
203206
use back::rpath::{get_absolute_rpath, get_install_prefix_rpath};
207+
#[cfg(test)]
204208
use back::rpath::{get_relative_to, get_rpath_relative_to_output};
209+
#[cfg(test)]
205210
use back::rpath::{minimize_rpaths, rpaths_to_flags};
206211
207212
#[test]

0 commit comments

Comments
 (0)