]> git.proxmox.com Git - rustc.git/blame - compiler/rustc_target/src/spec/armv5te_unknown_linux_musleabi.rs
New upstream version 1.61.0+dfsg1
[rustc.git] / compiler / rustc_target / src / spec / armv5te_unknown_linux_musleabi.rs
CommitLineData
29967ef6 1use crate::spec::{Target, TargetOptions};
476ff2be 2
29967ef6 3pub fn target() -> Target {
29967ef6 4 Target {
136023e0 5 // FIXME: this comment below does not seem applicable?
83c7162d
XL
6 // It's important we use "gnueabihf" and not "musleabihf" here. LLVM
7 // uses it to determine the calling convention and float ABI, and LLVM
8 // doesn't support the "musleabihf" value.
ee023bcb 9 llvm_target: "armv5te-unknown-linux-gnueabi".into(),
29967ef6 10 pointer_width: 32,
ee023bcb
FG
11 data_layout: "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64".into(),
12 arch: "arm".into(),
476ff2be 13 options: TargetOptions {
ee023bcb
FG
14 abi: "eabi".into(),
15 features: "+soft-float,+strict-align".into(),
ff7c6d11 16 // Atomic operations provided by compiler-builtins
ea8adc8c 17 max_atomic_width: Some(32),
ee023bcb 18 mcount: "\u{1}mcount".into(),
29967ef6 19 has_thumb_interworking: true,
136023e0 20 ..super::linux_musl_base::opts()
dfeec247 21 },
29967ef6 22 }
476ff2be 23}