]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_target/src/spec/solaris_base.rs
Auto merge of #77618 - fusion-engineering-forks:windows-parker, r=Amanieu
[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         vendor: "sun".to_string(),
7         dynamic_linking: true,
8         executables: true,
9         has_rpath: true,
10         os_family: Some("unix".to_string()),
11         is_like_solaris: true,
12         limit_rdylib_exports: false, // Linker doesn't support this
13         eh_frame_header: false,
14
15         ..Default::default()
16     }
17 }