]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_target/src/spec/x86_64_pc_nto_qnx710.rs
Auto merge of #2680 - RalfJung:rustup, r=RalfJung
[rust.git] / compiler / rustc_target / src / spec / x86_64_pc_nto_qnx710.rs
1 use super::nto_qnx_base;
2 use crate::spec::{Cc, LinkerFlavor, Lld, Target, TargetOptions};
3
4 pub fn target() -> Target {
5     Target {
6         llvm_target: "x86_64-pc-unknown".into(),
7         pointer_width: 64,
8         data_layout: "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
9             .into(),
10         arch: "x86_64".into(),
11         options: TargetOptions {
12             cpu: "x86-64".into(),
13             max_atomic_width: Some(64),
14             pre_link_args: TargetOptions::link_args(
15                 LinkerFlavor::Gnu(Cc::Yes, Lld::No),
16                 &["-Vgcc_ntox86_64_cxx"],
17             ),
18             ..nto_qnx_base::opts()
19         },
20     }
21 }