@@ -622,7 +622,7 @@ impl AtomicBool {
622622 /// assert_eq!(some_bool, false);
623623 /// ```
624624 #[ inline]
625- #[ cfg( target_has_atomic_equal_alignment = "8" ) ]
625+ #[ cfg( target_has_atomic_primitive_alignment = "8" ) ]
626626 #[ unstable( feature = "atomic_from_mut" , issue = "76314" ) ]
627627 pub fn from_mut ( v : & mut bool ) -> & mut Self {
628628 // SAFETY: the mutable reference guarantees unique ownership, and
@@ -682,7 +682,7 @@ impl AtomicBool {
682682 /// assert_eq!(some_bools, [true; 10]);
683683 /// ```
684684 #[ inline]
685- #[ cfg( target_has_atomic_equal_alignment = "8" ) ]
685+ #[ cfg( target_has_atomic_primitive_alignment = "8" ) ]
686686 #[ unstable( feature = "atomic_from_mut" , issue = "76314" ) ]
687687 pub fn from_mut_slice ( v : & mut [ bool ] ) -> & mut [ Self ] {
688688 // SAFETY: the mutable reference guarantees unique ownership, and
@@ -1593,7 +1593,7 @@ impl<T> AtomicPtr<T> {
15931593 /// assert_eq!(unsafe { *some_ptr }, 456);
15941594 /// ```
15951595 #[ inline]
1596- #[ cfg( target_has_atomic_equal_alignment = "ptr" ) ]
1596+ #[ cfg( target_has_atomic_primitive_alignment = "ptr" ) ]
15971597 #[ unstable( feature = "atomic_from_mut" , issue = "76314" ) ]
15981598 pub fn from_mut ( v : & mut * mut T ) -> & mut Self {
15991599 let [ ] = [ ( ) ; align_of :: < AtomicPtr < ( ) > > ( ) - align_of :: < * mut ( ) > ( ) ] ;
@@ -1672,7 +1672,7 @@ impl<T> AtomicPtr<T> {
16721672 /// }
16731673 /// ```
16741674 #[ inline]
1675- #[ cfg( target_has_atomic_equal_alignment = "ptr" ) ]
1675+ #[ cfg( target_has_atomic_primitive_alignment = "ptr" ) ]
16761676 #[ unstable( feature = "atomic_from_mut" , issue = "76314" ) ]
16771677 pub fn from_mut_slice ( v : & mut [ * mut T ] ) -> & mut [ Self ] {
16781678 // SAFETY:
@@ -3621,7 +3621,7 @@ macro_rules! atomic_int {
36213621#[ cfg( target_has_atomic_load_store = "8" ) ]
36223622atomic_int ! {
36233623 cfg( target_has_atomic = "8" ) ,
3624- cfg( target_has_atomic_equal_alignment = "8" ) ,
3624+ cfg( target_has_atomic_primitive_alignment = "8" ) ,
36253625 stable( feature = "integer_atomics_stable" , since = "1.34.0" ) ,
36263626 stable( feature = "integer_atomics_stable" , since = "1.34.0" ) ,
36273627 stable( feature = "integer_atomics_stable" , since = "1.34.0" ) ,
@@ -3639,7 +3639,7 @@ atomic_int! {
36393639#[ cfg( target_has_atomic_load_store = "8" ) ]
36403640atomic_int ! {
36413641 cfg( target_has_atomic = "8" ) ,
3642- cfg( target_has_atomic_equal_alignment = "8" ) ,
3642+ cfg( target_has_atomic_primitive_alignment = "8" ) ,
36433643 stable( feature = "integer_atomics_stable" , since = "1.34.0" ) ,
36443644 stable( feature = "integer_atomics_stable" , since = "1.34.0" ) ,
36453645 stable( feature = "integer_atomics_stable" , since = "1.34.0" ) ,
@@ -3657,7 +3657,7 @@ atomic_int! {
36573657#[ cfg( target_has_atomic_load_store = "16" ) ]
36583658atomic_int ! {
36593659 cfg( target_has_atomic = "16" ) ,
3660- cfg( target_has_atomic_equal_alignment = "16" ) ,
3660+ cfg( target_has_atomic_primitive_alignment = "16" ) ,
36613661 stable( feature = "integer_atomics_stable" , since = "1.34.0" ) ,
36623662 stable( feature = "integer_atomics_stable" , since = "1.34.0" ) ,
36633663 stable( feature = "integer_atomics_stable" , since = "1.34.0" ) ,
@@ -3675,7 +3675,7 @@ atomic_int! {
36753675#[ cfg( target_has_atomic_load_store = "16" ) ]
36763676atomic_int ! {
36773677 cfg( target_has_atomic = "16" ) ,
3678- cfg( target_has_atomic_equal_alignment = "16" ) ,
3678+ cfg( target_has_atomic_primitive_alignment = "16" ) ,
36793679 stable( feature = "integer_atomics_stable" , since = "1.34.0" ) ,
36803680 stable( feature = "integer_atomics_stable" , since = "1.34.0" ) ,
36813681 stable( feature = "integer_atomics_stable" , since = "1.34.0" ) ,
@@ -3693,7 +3693,7 @@ atomic_int! {
36933693#[ cfg( target_has_atomic_load_store = "32" ) ]
36943694atomic_int ! {
36953695 cfg( target_has_atomic = "32" ) ,
3696- cfg( target_has_atomic_equal_alignment = "32" ) ,
3696+ cfg( target_has_atomic_primitive_alignment = "32" ) ,
36973697 stable( feature = "integer_atomics_stable" , since = "1.34.0" ) ,
36983698 stable( feature = "integer_atomics_stable" , since = "1.34.0" ) ,
36993699 stable( feature = "integer_atomics_stable" , since = "1.34.0" ) ,
@@ -3711,7 +3711,7 @@ atomic_int! {
37113711#[ cfg( target_has_atomic_load_store = "32" ) ]
37123712atomic_int ! {
37133713 cfg( target_has_atomic = "32" ) ,
3714- cfg( target_has_atomic_equal_alignment = "32" ) ,
3714+ cfg( target_has_atomic_primitive_alignment = "32" ) ,
37153715 stable( feature = "integer_atomics_stable" , since = "1.34.0" ) ,
37163716 stable( feature = "integer_atomics_stable" , since = "1.34.0" ) ,
37173717 stable( feature = "integer_atomics_stable" , since = "1.34.0" ) ,
@@ -3729,7 +3729,7 @@ atomic_int! {
37293729#[ cfg( target_has_atomic_load_store = "64" ) ]
37303730atomic_int ! {
37313731 cfg( target_has_atomic = "64" ) ,
3732- cfg( target_has_atomic_equal_alignment = "64" ) ,
3732+ cfg( target_has_atomic_primitive_alignment = "64" ) ,
37333733 stable( feature = "integer_atomics_stable" , since = "1.34.0" ) ,
37343734 stable( feature = "integer_atomics_stable" , since = "1.34.0" ) ,
37353735 stable( feature = "integer_atomics_stable" , since = "1.34.0" ) ,
@@ -3747,7 +3747,7 @@ atomic_int! {
37473747#[ cfg( target_has_atomic_load_store = "64" ) ]
37483748atomic_int ! {
37493749 cfg( target_has_atomic = "64" ) ,
3750- cfg( target_has_atomic_equal_alignment = "64" ) ,
3750+ cfg( target_has_atomic_primitive_alignment = "64" ) ,
37513751 stable( feature = "integer_atomics_stable" , since = "1.34.0" ) ,
37523752 stable( feature = "integer_atomics_stable" , since = "1.34.0" ) ,
37533753 stable( feature = "integer_atomics_stable" , since = "1.34.0" ) ,
@@ -3765,7 +3765,7 @@ atomic_int! {
37653765#[ cfg( target_has_atomic_load_store = "128" ) ]
37663766atomic_int ! {
37673767 cfg( target_has_atomic = "128" ) ,
3768- cfg( target_has_atomic_equal_alignment = "128" ) ,
3768+ cfg( target_has_atomic_primitive_alignment = "128" ) ,
37693769 unstable( feature = "integer_atomics" , issue = "99069" ) ,
37703770 unstable( feature = "integer_atomics" , issue = "99069" ) ,
37713771 unstable( feature = "integer_atomics" , issue = "99069" ) ,
@@ -3783,7 +3783,7 @@ atomic_int! {
37833783#[ cfg( target_has_atomic_load_store = "128" ) ]
37843784atomic_int ! {
37853785 cfg( target_has_atomic = "128" ) ,
3786- cfg( target_has_atomic_equal_alignment = "128" ) ,
3786+ cfg( target_has_atomic_primitive_alignment = "128" ) ,
37873787 unstable( feature = "integer_atomics" , issue = "99069" ) ,
37883788 unstable( feature = "integer_atomics" , issue = "99069" ) ,
37893789 unstable( feature = "integer_atomics" , issue = "99069" ) ,
@@ -3805,7 +3805,7 @@ macro_rules! atomic_int_ptr_sized {
38053805 #[ cfg( target_pointer_width = $target_pointer_width) ]
38063806 atomic_int! {
38073807 cfg( target_has_atomic = "ptr" ) ,
3808- cfg( target_has_atomic_equal_alignment = "ptr" ) ,
3808+ cfg( target_has_atomic_primitive_alignment = "ptr" ) ,
38093809 stable( feature = "rust1" , since = "1.0.0" ) ,
38103810 stable( feature = "extended_compare_and_swap" , since = "1.10.0" ) ,
38113811 stable( feature = "atomic_debug" , since = "1.3.0" ) ,
@@ -3823,7 +3823,7 @@ macro_rules! atomic_int_ptr_sized {
38233823 #[ cfg( target_pointer_width = $target_pointer_width) ]
38243824 atomic_int! {
38253825 cfg( target_has_atomic = "ptr" ) ,
3826- cfg( target_has_atomic_equal_alignment = "ptr" ) ,
3826+ cfg( target_has_atomic_primitive_alignment = "ptr" ) ,
38273827 stable( feature = "rust1" , since = "1.0.0" ) ,
38283828 stable( feature = "extended_compare_and_swap" , since = "1.10.0" ) ,
38293829 stable( feature = "atomic_debug" , since = "1.3.0" ) ,
0 commit comments