Skip to content

Commit 3cde597

Browse files
committed
Auto merge of #129721 - workingjubilee:rollup-y2o1mnp, r=workingjubilee
Rollup of 14 pull requests Successful merges: - #128192 (rustc_target: Add various aarch64 features) - #129170 (Add an ability to convert between `Span` and `visit::Location`) - #129343 (Emit specific message for time<=0.3.35) - #129378 (Clean up cfg-gating of ProcessPrng extern) - #129401 (Partially stabilize `feature(new_uninit)`) - #129467 (derive(SmartPointer): assume pointee from the single generic and better error messages) - #129494 (format code in tests/ui/threads-sendsync) - #129617 (Update books) - #129673 (Add fmt::Debug to sync::Weak<T, A>) - #129683 (copysign with sign being a NaN can have non-portable results) - #129689 (Move `'tcx` lifetime off of impl and onto methods for `CrateMetadataRef`) - #129695 (Fix path to run clippy on rustdoc) - #129712 (Correct trusty targets to be tier 3) - #129715 (Update `compiler_builtins` to `0.1.123`) r? `@ghost` `@rustbot` modify labels: rollup
2 parents 1345fa4 + 1f0554d commit 3cde597

File tree

5 files changed

+0
-5
lines changed

5 files changed

+0
-5
lines changed

tests/fail/data_race/alloc_read_race.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
//@compile-flags: -Zmiri-disable-weak-memory-emulation -Zmiri-preemption-rate=0 -Zmiri-disable-stacked-borrows
22
// Avoid accidental synchronization via address reuse inside `thread::spawn`.
33
//@compile-flags: -Zmiri-address-reuse-cross-thread-rate=0
4-
#![feature(new_uninit)]
54

65
use std::mem::MaybeUninit;
76
use std::ptr::null_mut;

tests/fail/data_race/alloc_write_race.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
//@compile-flags: -Zmiri-disable-weak-memory-emulation -Zmiri-preemption-rate=0 -Zmiri-disable-stacked-borrows
22
// Avoid accidental synchronization via address reuse inside `thread::spawn`.
33
//@compile-flags: -Zmiri-address-reuse-cross-thread-rate=0
4-
#![feature(new_uninit)]
54

65
use std::ptr::null_mut;
76
use std::sync::atomic::{AtomicPtr, Ordering};

tests/fail/weak_memory/weak_uninit.rs

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
// run multiple times until one try returns true.
77
// Spurious failure is possible, if you are really unlucky with
88
// the RNG and always read the latest value from the store buffer.
9-
#![feature(new_uninit)]
109

1110
use std::sync::atomic::*;
1211
use std::thread::spawn;

tests/pass/rc.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
//@revisions: stack tree
22
//@[tree]compile-flags: -Zmiri-tree-borrows
33
//@compile-flags: -Zmiri-strict-provenance
4-
#![feature(new_uninit)]
54
#![feature(get_mut_unchecked)]
65
#![allow(ambiguous_wide_pointer_comparisons)]
76

tests/pass/slices.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
//@revisions: stack tree
22
//@[tree]compile-flags: -Zmiri-tree-borrows
33
//@compile-flags: -Zmiri-strict-provenance
4-
#![feature(new_uninit)]
54
#![feature(slice_as_chunks)]
65
#![feature(slice_partition_dedup)]
76
#![feature(layout_for_ptr)]

0 commit comments

Comments
 (0)