rustc_target/spec/targets/x86_64_pc_qnx.rs
1use crate::spec::base::qnx_sdp;
2use crate::spec::{Os, Target};
3
4pub(crate) fn target() -> Target {
5 let mut target = qnx_sdp::x86_64();
6 target.metadata.description = Some("x86 64-bit QNX SDP 8.0+".into());
7 target.options.pre_link_args =
8 qnx_sdp::pre_link_args(qnx_sdp::ApiVariant::Default, qnx_sdp::Arch::X86_64);
9 // for QNX SDP 8.0, we have target_os = "qnx" and no target_env
10 target.options.os = Os::Qnx;
11 target
12}