]> git.lizzy.rs Git - rust.git/blob - src/librustc_target/spec/solaris_base.rs
Auto merge of #68943 - ecstatic-morse:no-useless-drop-on-enum-variants, r=matthewjasper
[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 }