summary refs log tree commit diff
path: root/compiler/rustc_target/src/spec/l4re_base.rs
blob: 7a051532f82e39b8f7ac38d9c5eafb21466ef2a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::spec::{cvs, LinkerFlavor, PanicStrategy, TargetOptions};

pub fn opts() -> TargetOptions {
    TargetOptions {
        os: "l4re".into(),
        env: "uclibc".into(),
        linker_flavor: LinkerFlavor::L4Bender,
        executables: true,
        panic_strategy: PanicStrategy::Abort,
        linker: Some("l4-bender".into()),
        linker_is_gnu: false,
        families: cvs!["unix"],
        ..Default::default()
    }
}