rustc_target/spec/targets/
i586_unknown_netbsd.rs
1use crate::spec::{StackProbeType, Target, TargetOptions, base};
2
3pub(crate) fn target() -> Target {
4 let mut base = base::netbsd::opts();
5 base.cpu = "pentium".into();
6 base.max_atomic_width = Some(64);
7 base.stack_probes = StackProbeType::Inline;
8
9 Target {
10 llvm_target: "i586-unknown-netbsdelf".into(),
11 metadata: crate::spec::TargetMetadata {
12 description: Some("32-bit x86, resricted to Pentium".into()),
13 tier: Some(3),
14 host_tools: Some(false),
15 std: Some(true),
16 },
17 pointer_width: 32,
18 data_layout: "e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-\
19 i128:128-f64:32:64-f80:32-n8:16:32-S128"
20 .into(),
21 arch: "x86".into(),
22 options: TargetOptions { mcount: "__mcount".into(), ..base },
23 }
24}