]> git.lizzy.rs Git - rust.git/blob - src/librustc_target/spec/solaris_base.rs
Rollup merge of #61802 - mjbshaw:maybe-uninit-transparent, r=cramertj
[rust.git] / src / librustc_target / spec / solaris_base.rs
1 use crate::spec::TargetOptions;
2 use std::default::Default;
3
4 pub fn opts() -> TargetOptions {
5     TargetOptions {
6         dynamic_linking: true,
7         executables: true,
8         has_rpath: true,
9         target_family: Some("unix".to_string()),
10         is_like_solaris: true,
11         limit_rdylib_exports: false, // Linker doesn't support this
12
13         .. Default::default()
14     }
15 }