]> git.proxmox.com Git - rustc.git/blame - compiler/rustc_target/src/spec/vxworks_base.rs
New upstream version 1.64.0+dfsg1
[rustc.git] / compiler / rustc_target / src / spec / vxworks_base.rs
CommitLineData
5e7ed085 1use crate::spec::{cvs, TargetOptions};
416331ca
XL
2
3pub fn opts() -> TargetOptions {
416331ca 4 TargetOptions {
5e7ed085
FG
5 os: "vxworks".into(),
6 env: "gnu".into(),
7 vendor: "wrs".into(),
8 linker: Some("wr-c++".into()),
9 exe_suffix: ".vxe".into(),
416331ca 10 dynamic_linking: true,
5e7ed085 11 families: cvs!["unix"],
416331ca 12 has_rpath: true,
a2a8927a 13 has_thread_local: true,
e1599b0c
XL
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
5e7ed085 18 mcount: "_mcount".into(),
dfeec247 19 ..Default::default()
416331ca
XL
20 }
21}