Skip to content

Commit 215c936

Browse files
committed
Promote armv7a-none-eabihf to Tier 2
This is the target for 32-bit Cortex-A bare-metal, when using the FPU. The target is well tested by the Embedded Devices Working Group, and the soft-float target (armv7a-none-eabi) is already Tier 2.
1 parent 60a5372 commit 215c936

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

compiler/rustc_target/src/spec/targets/armv7a_none_eabihf.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ pub(crate) fn target() -> Target {
3030
llvm_target: "armv7a-none-eabihf".into(),
3131
metadata: TargetMetadata {
3232
description: Some("Bare Armv7-A, hardfloat".into()),
33-
tier: Some(3),
33+
tier: Some(2),
3434
host_tools: Some(false),
3535
std: Some(false),
3636
},

src/doc/rustc/src/platform-support.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ target | std | notes
165165
`armv7-unknown-linux-musleabi` | ✓ | Armv7-A Linux with musl 1.2.3
166166
`armv7-unknown-linux-musleabihf` | ✓ | Armv7-A Linux with musl 1.2.3, hardfloat
167167
[`armv7a-none-eabi`](platform-support/armv7a-none-eabi.md) | * | Bare Armv7-A
168+
[`armv7a-none-eabihf`](platform-support/armv7a-none-eabi.md) | * | | Bare Armv7-A, hardfloat
168169
[`armv7r-none-eabi`](platform-support/armv7r-none-eabi.md) | * | Bare Armv7-R
169170
[`armv7r-none-eabihf`](platform-support/armv7r-none-eabi.md) | * | Bare Armv7-R, hardfloat
170171
`i586-unknown-linux-gnu` | ✓ | 32-bit Linux (kernel 3.2+, glibc 2.17, original Pentium) [^x86_32-floats-x87]
@@ -300,7 +301,6 @@ target | std | host | notes
300301
[`armv7-wrs-vxworks-eabihf`](platform-support/vxworks.md) | ✓ | | Armv7-A for VxWorks
301302
[`armv7a-kmc-solid_asp3-eabi`](platform-support/kmc-solid.md) | ✓ | | ARM SOLID with TOPPERS/ASP3
302303
[`armv7a-kmc-solid_asp3-eabihf`](platform-support/kmc-solid.md) | ✓ | | ARM SOLID with TOPPERS/ASP3, hardfloat
303-
[`armv7a-none-eabihf`](platform-support/arm-none-eabi.md) | * | | Bare Armv7-A, hardfloat
304304
[`armv7a-vex-v5`](platform-support/armv7a-vex-v5.md) | ? | | Armv7-A Cortex-A9 VEX V5 Brain, VEXos
305305
[`armv7k-apple-watchos`](platform-support/apple-watchos.md) | ✓ | | Armv7-A Apple WatchOS
306306
[`armv7s-apple-ios`](platform-support/apple-ios.md) | ✓ | | Armv7-A Apple-A6 Apple iOS

src/doc/rustc/src/platform-support/armv7a-none-eabi.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# `armv7a-none-eabi` and `armv7a-none-eabihf`
22

3-
* **Tier: 2** for `armv7a-none-eabi`
4-
* **Tier: 3** for `armv7a-none-eabihf`
3+
* **Tier: 2**
54
* **Library Support:** core and alloc (bare-metal, `#![no_std]`)
65

76
Bare-metal target for CPUs in the Armv7-A architecture family, supporting

0 commit comments

Comments
 (0)