Skip to content

Commit 6f8c0d3

Browse files
committed
Updated tests/pass/intrinsics/portable-simd.rs to use unsafe fn with intrinsic
1 parent 8435cb6 commit 6f8c0d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/miri/tests/pass/intrinsics/portable-simd.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ use std::simd::prelude::*;
1616

1717
#[rustc_intrinsic]
1818
#[rustc_nounwind]
19-
pub fn simd_shuffle_generic<T, U, const IDX: &'static [u32]>(_x: T, _y: T) -> U;
19+
pub unsafe fn simd_shuffle_generic<T, U, const IDX: &'static [u32]>(_x: T, _y: T) -> U;
2020

2121
fn simd_ops_f32() {
2222
let a = f32x4::splat(10.0);

0 commit comments

Comments
 (0)