]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_target/src/spec/l4re_base.rs
Rollup merge of #104464 - mati865:reduce-eh-overallocation-amd64, r=thomcc
[rust.git] / compiler / rustc_target / src / spec / l4re_base.rs
1 use crate::spec::{cvs, Cc, LinkerFlavor, PanicStrategy, RelocModel, TargetOptions};
2
3 pub fn opts() -> TargetOptions {
4     TargetOptions {
5         os: "l4re".into(),
6         env: "uclibc".into(),
7         linker_flavor: LinkerFlavor::Unix(Cc::No),
8         panic_strategy: PanicStrategy::Abort,
9         linker: Some("l4-bender".into()),
10         families: cvs!["unix"],
11         relocation_model: RelocModel::Static,
12         ..Default::default()
13     }
14 }