Skip to content

Commit 2f0a19a

Browse files
Rollup merge of #140741 - husqvarnagroup:af/armv5te-target-maintainer, r=jieyouxu
add armv5te-unknown-linux-gnueabi target maintainer My employer is interested in having this target maintained and we already have some tests in our CI running for it. armv5te-unknown-linux-gnueabi can be ticket off in #113739.
2 parents 5152ab2 + 4e26480 commit 2f0a19a

File tree

3 files changed

+31
-1
lines changed

3 files changed

+31
-1
lines changed

src/doc/rustc/src/SUMMARY.md

+1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
- [thumbv7m-none-eabi](./platform-support/thumbv7m-none-eabi.md)
5959
- [thumbv8m.base-none-eabi](./platform-support/thumbv8m.base-none-eabi.md)
6060
- [thumbv8m.main-none-eabi\*](./platform-support/thumbv8m.main-none-eabi.md)
61+
- [armv5te-unknown-linux-gnueabi](platform-support/armv5te-unknown-linux-gnueabi.md)
6162
- [armv6k-nintendo-3ds](platform-support/armv6k-nintendo-3ds.md)
6263
- [armv7-rtems-eabihf](platform-support/armv7-rtems-eabihf.md)
6364
- [armv7-sony-vita-newlibeabihf](platform-support/armv7-sony-vita-newlibeabihf.md)

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ target | std | notes
156156
[`arm64ec-pc-windows-msvc`](platform-support/arm64ec-pc-windows-msvc.md) | ✓ | Arm64EC Windows MSVC
157157
[`armebv7r-none-eabi`](platform-support/armv7r-none-eabi.md) | * | Bare Armv7-R, Big Endian
158158
[`armebv7r-none-eabihf`](platform-support/armv7r-none-eabi.md) | * | Bare Armv7-R, Big Endian, hardfloat
159-
`armv5te-unknown-linux-gnueabi` | ✓ | Armv5TE Linux (kernel 4.4, glibc 2.23)
159+
[`armv5te-unknown-linux-gnueabi`](platform-support/armv5te-unknown-linux-gnueabi.md) | ✓ | Armv5TE Linux (kernel 4.4, glibc 2.23)
160160
`armv5te-unknown-linux-musleabi` | ✓ | Armv5TE Linux with musl 1.2.3
161161
[`armv7-linux-androideabi`](platform-support/android.md) | ✓ | Armv7-A Android
162162
`armv7-unknown-linux-gnueabi` | ✓ | Armv7-A Linux (kernel 4.15, glibc 2.27)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# `armv5te-unknown-linux-gnueabi`
2+
3+
**Tier: 2**
4+
5+
This target supports Linux programs with glibc on ARMv5TE CPUs without
6+
floating-point units.
7+
8+
## Target maintainers
9+
10+
[@koalatux](https://github.com/koalatux)
11+
12+
## Requirements
13+
14+
The target is for cross-compilation only. Host tools are not supported.
15+
std is fully supported.
16+
17+
## Building the target
18+
19+
Because this target is tier 2, artifacts are available from rustup.
20+
21+
## Building Rust programs
22+
23+
For building rust programs, you might want to specify GCC as linker in
24+
`.cargo/config.toml` as follows:
25+
26+
```toml
27+
[target.armv5te-unknown-linux-gnueabi]
28+
linker = "arm-linux-gnueabi-gcc"
29+
```

0 commit comments

Comments
 (0)