This commit is contained in:
The Miri Cronjob Bot 2024-09-16 05:07:31 +00:00
parent 4d824fd5b7
commit 1692d12c1c
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ fn main() {
// when it actually happened), we'd miss the UB in this test.
// Also, the UB error should point at the write above, not the addr-of here.
P.store(std::ptr::addr_of_mut!(val), Relaxed);
// Wait for the thread to be done.
t1.join().unwrap();

View File

@ -28,7 +28,7 @@ fn main() {
// when it actually happened), we'd miss the UB in this test.
// Also, the UB error should point at the write above, not the addr-of here.
P.store(std::ptr::addr_of_mut!(val), Relaxed);
// Wait for the thread to be done.
t1.join().unwrap();