]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_target/src/spec/aarch64_unknown_hermit.rs
Add 'src/tools/rust-analyzer/' from commit '977e12a0bdc3e329af179ef3a9d466af9eb613bb'
[rust.git] / compiler / rustc_target / src / spec / aarch64_unknown_hermit.rs
1 use crate::spec::Target;
2
3 pub fn target() -> Target {
4     let mut base = super::hermit_base::opts();
5     base.max_atomic_width = Some(128);
6     base.features = "+strict-align,+neon,+fp-armv8".into();
7
8     Target {
9         llvm_target: "aarch64-unknown-hermit".into(),
10         pointer_width: 64,
11         data_layout: "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128".into(),
12         arch: "aarch64".into(),
13         options: base,
14     }
15 }