From d958cfc2dee626bbfecda33070d7ccef6fb9468a Mon Sep 17 00:00:00 2001 From: Michael McConville Date: Wed, 23 Dec 2015 22:31:53 -0500 Subject: [PATCH] Simply two cfg attributes --- src/test/run-make/simd-ffi/simd.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/run-make/simd-ffi/simd.rs b/src/test/run-make/simd-ffi/simd.rs index c0c4b1e7f3f..49fec6f3619 100644 --- a/src/test/run-make/simd-ffi/simd.rs +++ b/src/test/run-make/simd-ffi/simd.rs @@ -47,11 +47,11 @@ extern { fn integer(a: i32x4, b: i32x4) -> i32x4; // vmaxq_s32 - #[cfg(any(target_arch = "arm"))] + #[cfg(target_arch = "arm")] #[link_name = "llvm.arm.neon.vmaxs.v4i32"] fn integer(a: i32x4, b: i32x4) -> i32x4; // vmaxq_s32 - #[cfg(any(target_arch = "aarch64"))] + #[cfg(target_arch = "aarch64")] #[link_name = "llvm.aarch64.neon.maxs.v4i32"] fn integer(a: i32x4, b: i32x4) -> i32x4;