]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_target/src/spec/aarch64_kmc_solid_asp3.rs
Rollup merge of #95446 - notseanray:master, r=Mark-Simulacrum
[rust.git] / compiler / rustc_target / src / spec / aarch64_kmc_solid_asp3.rs
1 use super::{RelocModel, Target, TargetOptions};
2
3 pub fn target() -> Target {
4     let base = super::solid_base::opts("asp3");
5     Target {
6         llvm_target: "aarch64-unknown-none".into(),
7         pointer_width: 64,
8         data_layout: "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128".into(),
9         arch: "aarch64".into(),
10         options: TargetOptions {
11             linker: Some("aarch64-kmc-elf-gcc".into()),
12             features: "+neon,+fp-armv8".into(),
13             relocation_model: RelocModel::Static,
14             disable_redzone: true,
15             max_atomic_width: Some(128),
16             ..base
17         },
18     }
19 }