rustc_target/spec/targets/
aarch64_kmc_solid_asp3.rs

1use crate::spec::{RelocModel, StackProbeType, Target, TargetOptions, base};
2
3pub(crate) fn target() -> Target {
4    let base = base::solid::opts("asp3");
5    Target {
6        llvm_target: "aarch64-unknown-none".into(),
7        metadata: crate::spec::TargetMetadata {
8            description: Some("ARM64 SOLID with TOPPERS/ASP3".into()),
9            tier: Some(3),
10            host_tools: Some(false),
11            std: Some(true),
12        },
13        pointer_width: 64,
14        data_layout: "e-m:e-p270:32:32-p271:32:32-p272:64:64-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128-Fn32".into(),
15        arch: "aarch64".into(),
16        options: TargetOptions {
17            linker: Some("aarch64-kmc-elf-gcc".into()),
18            features: "+v8a,+neon,+fp-armv8".into(),
19            relocation_model: RelocModel::Static,
20            disable_redzone: true,
21            max_atomic_width: Some(128),
22            stack_probes: StackProbeType::Inline,
23            ..base
24        },
25    }
26}