Skip to content

Commit c4a5538

Browse files
authored
Rollup merge of #148769 - stabilize/alloc_layout_extra, r=scottmcm
Stabilize `alloc_layout_extra` Tracking issue: rust-lang/rust#55724 FCP completed in rust-lang/rust#55724 (comment) Closes rust-lang/rust#55724 ---- As per rust-lang/rust#55724 (comment), - `repeat_packed` and `extend_packed` are unchanged - `repeat` now excludes trailing padding on the last element from the total array size - `dangling` renamed to `dangling_ptr` - `padding_needed_for` not stabilized, changed to accept `Alignment` instead of `usize` and moved to the `ptr_aligment_type` feature flag (tracking issue: rust-lang/rust#102070)
2 parents da52f5d + 72e587c commit c4a5538

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

patches/0027-sysroot_tests-128bit-atomic-operations.patch

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,10 @@ diff --git a/coretests/tests/lib.rs b/coretests/tests/lib.rs
1414
index 1e336bf..35e6f54 100644
1515
--- a/coretests/tests/lib.rs
1616
+++ b/coretests/tests/lib.rs
17-
@@ -2,5 +2,4 @@
17+
@@ -2,4 +2,3 @@
1818
// tidy-alphabetical-start
1919
-#![cfg_attr(target_has_atomic = "128", feature(integer_atomics))]
2020
#![cfg_attr(test, feature(cfg_select))]
21-
#![feature(alloc_layout_extra)]
2221
#![feature(array_ptr_get)]
2322
diff --git a/coretests/tests/atomic.rs b/coretests/tests/atomic.rs
2423
index b735957..ea728b6 100644

0 commit comments

Comments
 (0)