]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_target/src/spec/mipsel_unknown_linux_musl.rs
Auto merge of #97800 - pnkfelix:issue-97463-fix-aarch64-call-abi-does-not-zeroext...
[rust.git] / compiler / rustc_target / src / spec / mipsel_unknown_linux_musl.rs
1 use crate::spec::{Target, TargetOptions};
2
3 pub fn target() -> Target {
4     let mut base = super::linux_musl_base::opts();
5     base.cpu = "mips32r2".into();
6     base.features = "+mips32r2,+soft-float".into();
7     base.max_atomic_width = Some(32);
8     base.crt_static_default = false;
9     Target {
10         llvm_target: "mipsel-unknown-linux-musl".into(),
11         pointer_width: 32,
12         data_layout: "e-m:m-p:32:32-i8:8:32-i16:16:32-i64:64-n32-S64".into(),
13         arch: "mips".into(),
14         options: TargetOptions { mcount: "_mcount".into(), ..base },
15     }
16 }