Files
rust/compiler/rustc_target/src/spec/solaris_base.rs

17 lines
450 B
Rust
Raw Normal View History

use crate::spec::{cvs, Cc, LinkerFlavor, TargetOptions};
2016-01-21 19:30:22 +03:00
pub fn opts() -> TargetOptions {
TargetOptions {
os: "solaris".into(),
2016-01-21 19:30:22 +03:00
dynamic_linking: true,
has_rpath: true,
families: cvs!["unix"],
2016-01-28 14:02:31 +03:00
is_like_solaris: true,
linker_flavor: LinkerFlavor::Unix(Cc::Yes),
limit_rdylib_exports: false, // Linker doesn't support this
eh_frame_header: false,
2016-01-21 19:30:22 +03:00
2019-12-22 17:42:04 -05:00
..Default::default()
2016-01-21 19:30:22 +03:00
}
}