]> git.proxmox.com Git - rustc.git/blame - compiler/rustc_target/src/spec/x86_64_fuchsia.rs
New upstream version 1.52.0+dfsg1
[rustc.git] / compiler / rustc_target / src / spec / x86_64_fuchsia.rs
CommitLineData
5869c6ff 1use crate::spec::{StackProbeType, Target};
c30ab7b3 2
29967ef6 3pub fn target() -> Target {
c30ab7b3
SL
4 let mut base = super::fuchsia_base::opts();
5 base.cpu = "x86-64".to_string();
6 base.max_atomic_width = Some(64);
36d6ef2b
XL
7 // don't use probe-stack=inline-asm until rust#83139 and rust#84667 are resolved
8 base.stack_probes = StackProbeType::Call;
c30ab7b3 9
29967ef6 10 Target {
8faf50e0 11 llvm_target: "x86_64-fuchsia".to_string(),
29967ef6 12 pointer_width: 64,
dfeec247
XL
13 data_layout: "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
14 .to_string(),
c30ab7b3 15 arch: "x86_64".to_string(),
c30ab7b3 16 options: base,
29967ef6 17 }
c30ab7b3 18}