Rollup merge of #131173 - madsmtm:target-info-solid_asp3-abi, r=lcnr
Fix `target_abi` in SOLID targets The `armv7a-kmc-solid_asp3-eabi` and `armv7a-kmc-solid_asp3-eabihf` targets clearly have the ABI in their name, so it should also be exposed in Rust's `target_abi` cfg variable. CC target maintainer `@kawadakk.`
This commit is contained in:
commit
35ff9e2bc6
@ -14,6 +14,7 @@ pub(crate) fn target() -> Target {
|
|||||||
data_layout: "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64".into(),
|
data_layout: "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64".into(),
|
||||||
arch: "arm".into(),
|
arch: "arm".into(),
|
||||||
options: TargetOptions {
|
options: TargetOptions {
|
||||||
|
abi: "eabi".into(),
|
||||||
linker: Some("arm-kmc-eabi-gcc".into()),
|
linker: Some("arm-kmc-eabi-gcc".into()),
|
||||||
features: "+v7,+soft-float,+thumb2,-neon".into(),
|
features: "+v7,+soft-float,+thumb2,-neon".into(),
|
||||||
relocation_model: RelocModel::Static,
|
relocation_model: RelocModel::Static,
|
||||||
|
@ -14,6 +14,7 @@ pub(crate) fn target() -> Target {
|
|||||||
data_layout: "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64".into(),
|
data_layout: "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64".into(),
|
||||||
arch: "arm".into(),
|
arch: "arm".into(),
|
||||||
options: TargetOptions {
|
options: TargetOptions {
|
||||||
|
abi: "eabihf".into(),
|
||||||
linker: Some("arm-kmc-eabi-gcc".into()),
|
linker: Some("arm-kmc-eabi-gcc".into()),
|
||||||
features: "+v7,+vfp3,-d32,+thumb2,-neon".into(),
|
features: "+v7,+vfp3,-d32,+thumb2,-neon".into(),
|
||||||
relocation_model: RelocModel::Static,
|
relocation_model: RelocModel::Static,
|
||||||
|
Loading…
Reference in New Issue
Block a user