mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
Use new std::simd fn in miri tests
Old fn were slightly divergent.
This commit is contained in:
parent
8765f91727
commit
37fea342ea
@ -6,7 +6,7 @@ use std::simd::*;
|
||||
|
||||
fn main() {
|
||||
// Pointer casts
|
||||
let _val: Simd<*const u8, 4> = Simd::<*const i32, 4>::splat(ptr::null()).cast_ptr();
|
||||
let _val: Simd<*const u8, 4> = Simd::<*const i32, 4>::splat(ptr::null()).cast();
|
||||
let addrs = Simd::<*const i32, 4>::splat(ptr::null()).expose_addr();
|
||||
let _ptrs = Simd::<*const i32, 4>::from_exposed_addr(addrs);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user