]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_target/src/spec/mipsisa64r6el_unknown_linux_gnuabi64.rs
589d7acba68045f67f9d8b67b9bf52bbec49e667
[rust.git] / compiler / rustc_target / src / spec / mipsisa64r6el_unknown_linux_gnuabi64.rs
1 use crate::spec::{Target, TargetOptions};
2
3 pub fn target() -> Target {
4     Target {
5         llvm_target: "mipsisa64r6el-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(mips64r6) matches C toolchain
11             cpu: "mips64r6".to_string(),
12             features: "+mips64r6".to_string(),
13             max_atomic_width: Some(64),
14             mcount: "_mcount".to_string(),
15
16             ..super::linux_gnu_base::opts()
17         },
18     }
19 }