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

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