]> git.lizzy.rs Git - rust.git/commitdiff
Fix cfg warnings in librustc_back
authorMichael Gehring <mg@ebfe.org>
Sat, 11 Oct 2014 16:32:57 +0000 (18:32 +0200)
committerMichael Gehring <mg@ebfe.org>
Sat, 11 Oct 2014 16:33:17 +0000 (18:33 +0200)
src/librustc_back/rpath.rs

index abb594d6e47a847a503b9612418a0d3ddab54142..a7a234dc18ac51f8739708612a872dce88371dbb 100644 (file)
@@ -200,8 +200,7 @@ fn test_minimize2() {
     }
 
     #[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,