]> git.proxmox.com Git - rustc.git/blame - compiler/rustc_target/src/spec/x86_64_fuchsia.rs
New upstream version 1.61.0+dfsg1
[rustc.git] / compiler / rustc_target / src / spec / x86_64_fuchsia.rs
CommitLineData
cdc7bbd5 1use crate::spec::{SanitizerSet, StackProbeType, Target};
c30ab7b3 2
29967ef6 3pub fn target() -> Target {
c30ab7b3 4 let mut base = super::fuchsia_base::opts();
ee023bcb 5 base.cpu = "x86-64".into();
c30ab7b3 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;
3c0e092e 9 base.supported_sanitizers = SanitizerSet::ADDRESS | SanitizerSet::CFI;
c30ab7b3 10
29967ef6 11 Target {
ee023bcb 12 llvm_target: "x86_64-fuchsia".into(),
29967ef6 13 pointer_width: 64,
dfeec247 14 data_layout: "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
ee023bcb
FG
15 .into(),
16 arch: "x86_64".into(),
c30ab7b3 17 options: base,
29967ef6 18 }
c30ab7b3 19}