Files
rust/compiler/rustc_target/src/spec/solaris_base.rs
2022-10-06 13:41:12 +04:00

17 lines
450 B
Rust

use crate::spec::{cvs, Cc, LinkerFlavor, TargetOptions};
pub fn opts() -> TargetOptions {
TargetOptions {
os: "solaris".into(),
dynamic_linking: true,
has_rpath: true,
families: cvs!["unix"],
is_like_solaris: true,
linker_flavor: LinkerFlavor::Unix(Cc::Yes),
limit_rdylib_exports: false, // Linker doesn't support this
eh_frame_header: false,
..Default::default()
}
}