mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-29 03:37:26 +03:00
compiler: Hermit targets: Sort base fields by declaration
Signed-off-by: Martin Kröning <martin.kroening@eonerc.rwth-aachen.de>
This commit is contained in:
@@ -8,8 +8,8 @@ pub fn target() -> Target {
|
||||
Target {
|
||||
llvm_target: "aarch64-unknown-hermit".into(),
|
||||
pointer_width: 64,
|
||||
data_layout: "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128".into(),
|
||||
arch: "aarch64".into(),
|
||||
data_layout: "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128".into(),
|
||||
options: base,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,13 +3,13 @@
|
||||
pub fn opts() -> TargetOptions {
|
||||
TargetOptions {
|
||||
os: "hermit".into(),
|
||||
linker_flavor: LinkerFlavor::Gnu(Cc::No, Lld::Yes),
|
||||
linker: Some("rust-lld".into()),
|
||||
has_thread_local: true,
|
||||
panic_strategy: PanicStrategy::Abort,
|
||||
linker_flavor: LinkerFlavor::Gnu(Cc::No, Lld::Yes),
|
||||
tls_model: TlsModel::InitialExec,
|
||||
position_independent_executables: true,
|
||||
static_position_independent_executables: true,
|
||||
tls_model: TlsModel::InitialExec,
|
||||
has_thread_local: true,
|
||||
panic_strategy: PanicStrategy::Abort,
|
||||
..Default::default()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,9 +11,9 @@ pub fn target() -> Target {
|
||||
Target {
|
||||
llvm_target: "x86_64-unknown-hermit".into(),
|
||||
pointer_width: 64,
|
||||
arch: "x86_64".into(),
|
||||
data_layout: "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
|
||||
.into(),
|
||||
arch: "x86_64".into(),
|
||||
options: base,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user