blob: 129554b5aae40a17c408511a7d1c202679e6fec4 [file] [log] [blame]
use crate::spec::{Env, Os, TargetOptions, cvs};
pub(crate) fn opts() -> TargetOptions {
TargetOptions {
os: Os::VxWorks,
env: Env::Gnu,
vendor: "wrs".into(),
linker: Some("wr-c++".into()),
exe_suffix: ".vxe".into(),
dynamic_linking: true,
families: cvs!["unix"],
has_rpath: true,
has_thread_local: true,
crt_static_default: true,
crt_static_respected: true,
crt_static_allows_dylibs: true,
// VxWorks needs to implement this to support profiling
mcount: "_mcount".into(),
..Default::default()
}
}