From d8a067b9310c4a4ca561f7b303cf069b1ff2c71a Mon Sep 17 00:00:00 2001 From: Folkert de Vries Date: Mon, 24 Feb 2025 17:26:56 +0100 Subject: remove most `simd_` intrinsic declaration in tests instead, we can just import the intrinsics from core --- tests/codegen/simd/simd_arith_offset.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tests/codegen/simd') diff --git a/tests/codegen/simd/simd_arith_offset.rs b/tests/codegen/simd/simd_arith_offset.rs index e14fce1d418..475ac37804f 100644 --- a/tests/codegen/simd/simd_arith_offset.rs +++ b/tests/codegen/simd/simd_arith_offset.rs @@ -5,9 +5,7 @@ #![crate_type = "lib"] #![feature(repr_simd, intrinsics)] -extern "rust-intrinsic" { - pub(crate) fn simd_arith_offset(ptrs: T, offsets: U) -> T; -} +use std::intrinsics::simd::simd_arith_offset; /// A vector of *const T. #[derive(Debug, Copy, Clone)] -- cgit 1.4.1-3-g733a5