From 151aaaf46ba7ba9c53f3e7df7a04b93cf1b8fd9f Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Sat, 11 Oct 2014 18:32:57 +0200 Subject: [PATCH] Fix cfg warnings in librustc_back --- src/librustc_back/rpath.rs | 3 +-- 1 file changed, 1 insertion(+), 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 @@ 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, -- GitLab