]>
Commit | Line | Data |
---|---|---|
29967ef6 | 1 | use crate::spec::Target; |
b7449926 | 2 | |
29967ef6 | 3 | pub fn target() -> Target { |
b7449926 XL |
4 | let mut base = super::hermit_base::opts(); |
5 | base.max_atomic_width = Some(128); | |
5099ac24 | 6 | base.features = "+strict-align,+neon,+fp-armv8".to_string(); |
b7449926 | 7 | |
29967ef6 | 8 | Target { |
b7449926 | 9 | llvm_target: "aarch64-unknown-hermit".to_string(), |
29967ef6 | 10 | pointer_width: 64, |
b7449926 XL |
11 | data_layout: "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128".to_string(), |
12 | arch: "aarch64".to_string(), | |
b7449926 | 13 | options: base, |
29967ef6 | 14 | } |
b7449926 | 15 | } |