rustc_target/spec/targets/
mipsel_unknown_linux_gnu.rs
1use crate::spec::{Target, TargetOptions, base};
2
3pub(crate) fn target() -> Target {
4 Target {
5 llvm_target: "mipsel-unknown-linux-gnu".into(),
6 metadata: crate::spec::TargetMetadata {
7 description: Some("MIPS (little endian) Linux (kernel 4.4, glibc 2.23)".into()),
8 tier: Some(3),
9 host_tools: Some(true),
10 std: Some(true),
11 },
12 pointer_width: 32,
13 data_layout: "e-m:m-p:32:32-i8:8:32-i16:16:32-i64:64-n32-S64".into(),
14 arch: "mips".into(),
15
16 options: TargetOptions {
17 cpu: "mips32r2".into(),
18 features: "+mips32r2,+fpxx,+nooddspreg".into(),
19 max_atomic_width: Some(32),
20 mcount: "_mcount".into(),
21
22 ..base::linux_gnu::opts()
23 },
24 }
25}