rustc_target/spec/targets/
i686_apple_darwin.rs
1use crate::spec::base::apple::{Arch, TargetAbi, base};
2use crate::spec::{FramePointer, Target, TargetOptions};
3
4pub(crate) fn target() -> Target {
5 let (opts, llvm_target, arch) = base("macos", Arch::I686, TargetAbi::Normal);
6 Target {
7 llvm_target,
8 metadata: crate::spec::TargetMetadata {
9 description: Some("x86 Apple macOS (10.12+, Sierra+)".into()),
10 tier: Some(3),
11 host_tools: Some(true),
12 std: Some(true),
13 },
14 pointer_width: 32,
15 data_layout: "e-m:o-p:32:32-p270:32:32-p271:32:32-p272:64:64-\
16 i128:128-f64:32:64-f80:128-n8:16:32-S128"
17 .into(),
18 arch,
19 options: TargetOptions {
20 mcount: "\u{1}mcount".into(),
21 max_atomic_width: Some(64),
22 frame_pointer: FramePointer::Always,
23 ..opts
24 },
25 }
26}