summaryrefslogtreecommitdiffstats
path: root/compiler/rustc_target/src/spec/base/haiku.rs
blob: 8ab874410aa1ce11b078bc4e7446325766f0b7d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
use crate::spec::{cvs, RelroLevel, TargetOptions};

pub fn opts() -> TargetOptions {
    TargetOptions {
        os: "haiku".into(),
        dynamic_linking: true,
        families: cvs!["unix"],
        relro_level: RelroLevel::Full,
        ..Default::default()
    }
}