Skip to content

Commit

Permalink
Auto merge of #113437 - workingjubilee:sync-simd-2023-july-07, r=work…
Browse files Browse the repository at this point in the history
…ingjubilee

Sync portable-simd to 2023 July 07

r? `@ghost`
  • Loading branch information
bors committed Jul 7, 2023
2 parents 06c4a2c + 3b26ec5 commit ba9e8be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/pass/portable-simd-ptrs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

0 comments on commit ba9e8be

Please sign in to comment.