]>
Commit | Line | Data |
---|---|---|
f20569fa XL |
1 | use crate::spec::{Target, TargetOptions}; |
2 | ||
3 | pub fn target() -> Target { | |
4 | Target { | |
5 | llvm_target: "mips64el-unknown-linux-gnuabi64".to_string(), | |
6 | pointer_width: 64, | |
7 | data_layout: "e-m:e-i8:8:32-i16:16:32-i64:64-n32:64-S128".to_string(), | |
8 | arch: "mips64".to_string(), | |
9 | options: TargetOptions { | |
10 | // NOTE(mips64r2) matches C toolchain | |
11 | cpu: "mips64r2".to_string(), | |
12 | features: "+mips64r2".to_string(), | |
13 | max_atomic_width: Some(64), | |
14 | mcount: "_mcount".to_string(), | |
15 | ||
16 | ..super::linux_gnu_base::opts() | |
17 | }, | |
18 | } | |
19 | } |