rustc_target/spec/targets/
mipsisa64r6el_unknown_linux_gnuabi64.rs

1use crate::spec::{Target, TargetOptions, base};
2
3pub(crate) fn target() -> Target {
4    Target {
5        llvm_target: "mipsisa64r6el-unknown-linux-gnuabi64".into(),
6        metadata: crate::spec::TargetMetadata {
7            description: Some("64-bit MIPS Release 6 Little Endian".into()),
8            tier: Some(3),
9            host_tools: Some(true),
10            std: Some(true),
11        },
12        pointer_width: 64,
13        data_layout: "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128".into(),
14        arch: "mips64r6".into(),
15        options: TargetOptions {
16            abi: "abi64".into(),
17            // NOTE(mips64r6) matches C toolchain
18            cpu: "mips64r6".into(),
19            features: "+mips64r6".into(),
20            max_atomic_width: Some(64),
21            mcount: "_mcount".into(),
22
23            ..base::linux_gnu::opts()
24        },
25    }
26}