about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Gehring <mg@ebfe.org>2014-10-11 18:32:57 +0200
committerMichael Gehring <mg@ebfe.org>2014-10-11 18:33:17 +0200
commit151aaaf46ba7ba9c53f3e7df7a04b93cf1b8fd9f (patch)
treec8161b97a273e44ebdecd69ebc54cae1be2cc947
parent22cc5d5e62002c5de6f3746b3a7e4f37e36440b6 (diff)
Fix cfg warnings in librustc_back
-rw-r--r--src/librustc_back/rpath.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/librustc_back/rpath.rs b/src/librustc_back/rpath.rs
index abb594d6e47..a7a234dc18a 100644
--- a/src/librustc_back/rpath.rs
+++ b/src/librustc_back/rpath.rs
@@ -200,8 +200,7 @@ mod test {
     }
 
     #[test]
-    #[cfg(target_os = "linux")]
-    #[cfg(target_os = "android")]
+    #[cfg(any(target_os = "linux", target_os = "android"))]
     fn test_rpath_relative() {
         let config = &mut RPathConfig {
             os: abi::OsLinux,