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

pub fn opts() -> TargetOptions {
    TargetOptions {
        os: "haiku".to_string(),
        dynamic_linking: true,
        executables: true,
        has_rpath: false,
        os_family: Some("unix".to_string()),
        relro_level: RelroLevel::Full,
        linker_is_gnu: true,
        ..Default::default()
    }
}