1 use crate::spec::{LinkerFlavor, LldFlavor, PanicStrategy, TargetOptions, TlsModel};
3 pub fn opts() -> TargetOptions {
4 let pre_link_args = TargetOptions::link_args(
6 &["--build-id", "--hash-style=gnu", "--Bstatic"],
11 linker_flavor: LinkerFlavor::Lld(LldFlavor::Ld),
12 linker: Some("rust-lld".into()),
13 has_thread_local: true,
15 panic_strategy: PanicStrategy::Abort,
16 position_independent_executables: true,
17 static_position_independent_executables: true,
18 tls_model: TlsModel::InitialExec,