1 use crate::spec::{StackProbeType, Target};
3 pub fn target() -> Target {
4 let mut base = super::hermit_base::opts();
5 base.cpu = "x86-64".into();
6 base.max_atomic_width = Some(64);
7 base.features = "+rdrnd,+rdseed".into();
8 // don't use probe-stack=inline-asm until rust#83139 and rust#84667 are resolved
9 base.stack_probes = StackProbeType::Call;
12 llvm_target: "x86_64-unknown-hermit".into(),
14 data_layout: "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
16 arch: "x86_64".into(),