]> git.proxmox.com Git - rustc.git/blame - vendor/rustc-ap-rustc_target/src/spec/mips64el_unknown_linux_gnuabi64.rs
New upstream version 1.52.1+dfsg1
[rustc.git] / vendor / rustc-ap-rustc_target / src / spec / mips64el_unknown_linux_gnuabi64.rs
CommitLineData
f20569fa
XL
1use crate::spec::{Target, TargetOptions};
2
3pub 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}