rustc_target/spec/targets/
mipsisa32r6el_unknown_linux_gnu.rs1use crate::spec::{Arch, LlvmAbi, Target, TargetMetadata, TargetOptions, base, cvs};
2
3pub(crate) fn target() -> Target {
4 Target {
5 llvm_target: "mipsisa32r6el-unknown-linux-gnu".into(),
6 metadata: TargetMetadata {
7 description: Some("32-bit MIPS Release 6 Little Endian".into()),
8 tier: Some(3),
9 host_tools: Some(false),
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: Arch::Mips32r6,
15
16 options: TargetOptions {
17 cpu: "mips32r6".into(),
18 features: "+mips32r6".into(),
19 llvm_abiname: LlvmAbi::O32,
20 llvm_args: cvs!["-mno-check-zero-division"],
21 max_atomic_width: Some(32),
22 mcount: "_mcount".into(),
23
24 ..base::linux_gnu::opts()
25 },
26 }
27}