File tree 2 files changed +1
-11
lines changed
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
17
17
rustc-std-workspace-alloc = { path = " ./sysroot_src/src/tools/rustc-std-workspace-alloc" }
18
18
rustc-std-workspace-std = { path = " ./sysroot_src/src/tools/rustc-std-workspace-std" }
19
19
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
-
25
20
[profile .release ]
26
21
debug = true
27
- debug-assertions = false
Original file line number Diff line number Diff line change @@ -137,11 +137,7 @@ fn main() {
137
137
let slice = & [ 0 , 1 ] as & [ i32 ] ;
138
138
let slice_ptr = slice as * const [ i32 ] as * const i32 ;
139
139
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 ) ;
145
141
146
142
//return;
147
143
You can’t perform that action at this time.
0 commit comments