]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_target/src/spec/vxworks_base.rs
Auto merge of #97800 - pnkfelix:issue-97463-fix-aarch64-call-abi-does-not-zeroext...
[rust.git] / compiler / rustc_target / src / spec / vxworks_base.rs
1 use crate::spec::{cvs, TargetOptions};
2
3 pub fn opts() -> TargetOptions {
4     TargetOptions {
5         os: "vxworks".into(),
6         env: "gnu".into(),
7         vendor: "wrs".into(),
8         linker: Some("wr-c++".into()),
9         exe_suffix: ".vxe".into(),
10         dynamic_linking: true,
11         families: cvs!["unix"],
12         has_rpath: true,
13         has_thread_local: true,
14         crt_static_default: true,
15         crt_static_respected: true,
16         crt_static_allows_dylibs: true,
17         // VxWorks needs to implement this to support profiling
18         mcount: "_mcount".into(),
19         ..Default::default()
20     }
21 }