diff options
| author | Lokathor <zefria@gmail.com> | 2020-07-29 16:26:09 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-29 16:26:09 -0600 |
| commit | e9509273e6581dbdcebbcdb32f8aea3eb7604060 (patch) | |
| tree | d27850f8564ec2d7c988bf792efc4e4e38825cd3 | |
| parent | 0dd362ec178e5d821630c0d54cff1e1043d7bdab (diff) | |
| download | rust-e9509273e6581dbdcebbcdb32f8aea3eb7604060.tar.gz rust-e9509273e6581dbdcebbcdb32f8aea3eb7604060.zip | |
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 fully specified layout, as given in the error from issue #74767
| -rw-r--r-- | src/librustc_target/spec/thumbv4t_none_eabi.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_target/spec/thumbv4t_none_eabi.rs b/src/librustc_target/spec/thumbv4t_none_eabi.rs index 31417b01547..a8c78f057fc 100644 --- a/src/librustc_target/spec/thumbv4t_none_eabi.rs +++ b/src/librustc_target/spec/thumbv4t_none_eabi.rs @@ -29,7 +29,7 @@ pub fn target() -> TargetResult { * native integers are 32-bit * All other elements are default */ - data_layout: "e-S64-p:32:32-i64:64-m:e-n32".to_string(), + data_layout: "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64".to_string(), linker_flavor: LinkerFlavor::Ld, options: TargetOptions { linker: Some("arm-none-eabi-ld".to_string()), |
