]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_target/src/spec/solaris_base.rs
Rollup merge of #97963 - devnexen:net_listener_neg, r=the8472
[rust.git] / compiler / rustc_target / src / spec / solaris_base.rs
1 use crate::spec::{cvs, TargetOptions};
2
3 pub fn opts() -> TargetOptions {
4     TargetOptions {
5         os: "solaris".into(),
6         dynamic_linking: true,
7         has_rpath: true,
8         families: cvs!["unix"],
9         is_like_solaris: true,
10         linker_is_gnu: false,
11         limit_rdylib_exports: false, // Linker doesn't support this
12         eh_frame_header: false,
13
14         ..Default::default()
15     }
16 }