about summary refs log tree commit diff
path: root/src/rustc/back
diff options
context:
space:
mode:
Diffstat (limited to 'src/rustc/back')
-rw-r--r--src/rustc/back/rpath.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/rustc/back/rpath.rs b/src/rustc/back/rpath.rs
index 675f1c43745..06376c18cb0 100644
--- a/src/rustc/back/rpath.rs
+++ b/src/rustc/back/rpath.rs
@@ -188,9 +188,7 @@ fn minimize_rpaths(rpaths: [str]) -> [str] {
     ret minimized;
 }
 
-#[cfg(target_os = "linux")]
-#[cfg(target_os = "macos")]
-#[cfg(target_os = "freebsd")]
+#[cfg(unix)]
 mod test {
     #[test]
     fn test_rpaths_to_flags() {