Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 024fbad

Browse files
authored
Rollup merge of #146523 - thejpster:demote-armebv7r-targets, r=jackh726
Demote both armebv7r-none-* targets. OK, slightly more controversial than #146520 and #146522 - I'd like to drop the bare-metal **big-endian** Armv7-R targets down to Tier 3. The reason is simple - we cannot test them in https://github.com/rust-embedded/cortex-ar/. This because QEMU support for Big Endian Armv7-R is broken. I tried quite hard, but all the strings I printed with semihosting came out byte swapped (or "etybawa depp") because of how QEMU kludges the access to memory in big-endian mode. The target also has only a single maintainer. Although, if ````@chrisnc```` wants to put up a case for keeping it at Tier 2 though, I'm happy to hear it! This PR wil be rebased once #146419 completes the queue.
2 parents f104ae4 + 430d353 commit 024fbad

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ pub(crate) fn target() -> Target {
1212
llvm_target: "armebv7r-none-eabi".into(),
1313
metadata: TargetMetadata {
1414
description: Some("Bare Armv7-R, Big Endian".into()),
15-
tier: Some(2),
15+
tier: Some(3),
1616
host_tools: Some(false),
1717
std: Some(false),
1818
},

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ pub(crate) fn target() -> Target {
1212
llvm_target: "armebv7r-none-eabihf".into(),
1313
metadata: TargetMetadata {
1414
description: Some("Bare Armv7-R, Big Endian, hardfloat".into()),
15-
tier: Some(2),
15+
tier: Some(3),
1616
host_tools: Some(false),
1717
std: Some(false),
1818
},

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,6 @@ target | std | notes
156156
`arm-unknown-linux-musleabi` | ✓ | Armv6 Linux with musl 1.2.3
157157
`arm-unknown-linux-musleabihf` | ✓ | Armv6 Linux with musl 1.2.3, hardfloat
158158
[`arm64ec-pc-windows-msvc`](platform-support/arm64ec-pc-windows-msvc.md) | ✓ | Arm64EC Windows MSVC
159-
[`armebv7r-none-eabi`](platform-support/armebv7r-none-eabi.md) | * | Bare Armv7-R, Big Endian
160-
[`armebv7r-none-eabihf`](platform-support/armebv7r-none-eabi.md) | * | Bare Armv7-R, Big Endian, hardfloat
161159
[`armv5te-unknown-linux-gnueabi`](platform-support/armv5te-unknown-linux-gnueabi.md) | ✓ | Armv5TE Linux (kernel 4.4+, glibc 2.23)
162160
`armv5te-unknown-linux-musleabi` | ✓ | Armv5TE Linux with musl 1.2.3
163161
[`armv7-linux-androideabi`](platform-support/android.md) | ✓ | Armv7-A Android
@@ -283,6 +281,8 @@ target | std | host | notes
283281
[`arm64e-apple-ios`](platform-support/arm64e-apple-ios.md) | ✓ | | ARM64e Apple iOS
284282
[`arm64e-apple-tvos`](platform-support/arm64e-apple-tvos.md) | ✓ | | ARM64e Apple tvOS
285283
[`armeb-unknown-linux-gnueabi`](platform-support/armeb-unknown-linux-gnueabi.md) | ✓ | ? | Arm BE8 the default Arm big-endian architecture since [Armv6](https://developer.arm.com/documentation/101754/0616/armlink-Reference/armlink-Command-line-Options/--be8?lang=en).
284+
[`armebv7r-none-eabi`](platform-support/armebv7r-none-eabi.md) | * | Bare Armv7-R, Big Endian
285+
[`armebv7r-none-eabihf`](platform-support/armebv7r-none-eabi.md) | * | Bare Armv7-R, Big Endian, hardfloat
286286
[`armv4t-none-eabi`](platform-support/armv4t-none-eabi.md) | * | | Bare Armv4T
287287
`armv4t-unknown-linux-gnueabi` | ? | | Armv4T Linux
288288
[`armv5te-none-eabi`](platform-support/armv5te-none-eabi.md) | * | | Bare Armv5TE

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

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

3-
* **Tier: 2**
3+
* **Tier: 3**
44
* **Library Support:** core and alloc (bare-metal, `#![no_std]`)
55

66
Bare-metal target for CPUs in the Armv7-R architecture family running in Big

0 commit comments

Comments
 (0)