Skip to content

Commit f4f77d7

Browse files
authored
Rollup merge of #74927 - Lokathor:Lokathor-patch-1, r=jonas-schievink
Change the target data layout to specify more values This does not actually alter the previously specified important parts, but apparently `rustc` cares about more layout components than `cargo-xbuild` ever did. This extends the data layout to be a fully specified layout, as given in the error from issue #74767 * Closes #74767
2 parents cae4d4d + e950927 commit f4f77d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_target/spec/thumbv4t_none_eabi.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ pub fn target() -> TargetResult {
2929
* native integers are 32-bit
3030
* All other elements are default
3131
*/
32-
data_layout: "e-S64-p:32:32-i64:64-m:e-n32".to_string(),
32+
data_layout: "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64".to_string(),
3333
linker_flavor: LinkerFlavor::Ld,
3434
options: TargetOptions {
3535
linker: Some("arm-none-eabi-ld".to_string()),

0 commit comments

Comments
 (0)