about summary refs log tree commit diff
path: root/compiler/rustc_target/src/spec/solaris_base.rs
blob: 33e0cf8e96752b353ac7a375975a2906ba8062c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::spec::TargetOptions;

pub fn opts() -> TargetOptions {
    TargetOptions {
        os: "solaris".to_string(),
        vendor: "sun".to_string(),
        dynamic_linking: true,
        executables: true,
        has_rpath: true,
        os_family: Some("unix".to_string()),
        is_like_solaris: true,
        limit_rdylib_exports: false, // Linker doesn't support this
        eh_frame_header: false,

        ..Default::default()
    }
}