File tree Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -17,11 +17,5 @@ rustc-std-workspace-core = { path = "./sysroot_src/src/tools/rustc-std-workspace
1717rustc-std-workspace-alloc = { path = " ./sysroot_src/src/tools/rustc-std-workspace-alloc" }
1818rustc-std-workspace-std = { path = " ./sysroot_src/src/tools/rustc-std-workspace-std" }
1919
20- [profile .dev ]
21- # FIXME On macOS statics and promoted constants have the wrong alignment. This causes a debug
22- # assertion in `copy_nonoverlapping` to panic.
23- debug-assertions = false
24-
2520[profile .release ]
2621debug = true
27- debug-assertions = false
Original file line number Diff line number Diff line change @@ -137,11 +137,7 @@ fn main() {
137137 let slice = & [ 0 , 1 ] as & [ i32 ] ;
138138 let slice_ptr = slice as * const [ i32 ] as * const i32 ;
139139
140- // FIXME On macOS statics and promoted constants have the wrong alignment. This causes this
141- // assertion to fail.
142- if cfg ! ( not( target_os = "macos" ) ) {
143- assert_eq ! ( slice_ptr as usize % 4 , 0 ) ;
144- }
140+ assert_eq ! ( slice_ptr as usize % 4 , 0 ) ;
145141
146142 //return;
147143
You can’t perform that action at this time.
0 commit comments