]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_target/src/spec/solaris_base.rs
Merge commit '9a0c32934ebe376128230aa8da3275697b2053e7' into sync_cg_clif-2021-03-05
[rust.git] / compiler / rustc_target / src / spec / solaris_base.rs
1 use crate::spec::TargetOptions;
2
3 pub fn opts() -> TargetOptions {
4     TargetOptions {
5         os: "solaris".to_string(),
6         dynamic_linking: true,
7         executables: true,
8         has_rpath: true,
9         os_family: Some("unix".to_string()),
10         is_like_solaris: true,
11         limit_rdylib_exports: false, // Linker doesn't support this
12         eh_frame_header: false,
13
14         ..Default::default()
15     }
16 }