]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_target/src/spec/mipsel_unknown_linux_gnu.rs
Issue error when `-C link-self-contained` option is used on unsupported platforms
[rust.git] / compiler / rustc_target / src / spec / mipsel_unknown_linux_gnu.rs
1 use crate::spec::{Target, TargetOptions};
2
3 pub fn target() -> Target {
4     Target {
5         llvm_target: "mipsel-unknown-linux-gnu".into(),
6         pointer_width: 32,
7         data_layout: "e-m:m-p:32:32-i8:8:32-i16:16:32-i64:64-n32-S64".into(),
8         arch: "mips".into(),
9
10         options: TargetOptions {
11             cpu: "mips32r2".into(),
12             features: "+mips32r2,+fpxx,+nooddspreg".into(),
13             max_atomic_width: Some(32),
14             mcount: "_mcount".into(),
15
16             ..super::linux_gnu_base::opts()
17         },
18     }
19 }