Skip to content
/ rust Public
forked from rust-lang/rust

Commit e44ed7b

Browse files
authored
Rollup merge of rust-lang#138624 - LukasWoodtli:gardena/lw/mipsel-maintainer, r=jieyouxu
Add mipsel maintainer
2 parents 1c2e7f7 + f8791b2 commit e44ed7b

File tree

3 files changed

+30
-1
lines changed

3 files changed

+30
-1
lines changed

src/doc/rustc/src/SUMMARY.md

+1
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
- [m68k-unknown-none-elf](platform-support/m68k-unknown-none-elf.md)
6767
- [mips64-openwrt-linux-musl](platform-support/mips64-openwrt-linux-musl.md)
6868
- [mipsel-sony-psx](platform-support/mipsel-sony-psx.md)
69+
- [mipsel-unknown-linux-gnu](platform-support/mipsel-unknown-linux-gnu.md)
6970
- [mips\*-mti-none-elf](platform-support/mips-mti-none-elf.md)
7071
- [mipsisa\*r6\*-unknown-linux-gnu\*](platform-support/mips-release-6.md)
7172
- [nvptx64-nvidia-cuda](platform-support/nvptx64-nvidia-cuda.md)

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ target | std | host | notes
334334
`mips64el-unknown-linux-muslabi64` | ✓ | | MIPS64 (little endian) Linux, N64 ABI, musl 1.2.3
335335
`mipsel-sony-psp` | * | | MIPS (LE) Sony PlayStation Portable (PSP)
336336
[`mipsel-sony-psx`](platform-support/mipsel-sony-psx.md) | * | | MIPS (LE) Sony PlayStation 1 (PSX)
337-
`mipsel-unknown-linux-gnu` | ✓ | ✓ | MIPS (little endian) Linux (kernel 4.4, glibc 2.23)
337+
[`mipsel-unknown-linux-gnu`](platform-support/mipsel-unknown-linux-gnu.md) | ✓ | ✓ | MIPS (little endian) Linux (kernel 4.4, glibc 2.23)
338338
`mipsel-unknown-linux-musl` | ✓ | | MIPS (little endian) Linux with musl 1.2.3
339339
`mipsel-unknown-linux-uclibc` | ✓ | | MIPS (LE) Linux with uClibc
340340
[`mipsel-unknown-netbsd`](platform-support/netbsd.md) | ✓ | ✓ | 32-bit MIPS (LE), requires mips32 cpu support
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# `mipsel-unknown-linux-gnu`
2+
3+
**Tier: 3**
4+
5+
Little-endian 32 bit MIPS for Linux with `glibc.
6+
7+
## Target maintainers
8+
9+
- [@LukasWoodtli](https://github.com/LukasWoodtli)
10+
11+
## Requirements
12+
13+
The target supports std on Linux. Host tools are supported but not tested.
14+
15+
16+
## Building the target
17+
18+
For cross compilation the GNU C compiler for the mipsel architecture needs to
19+
be installed. On Ubuntu install the packets: `gcc-mipsel-linux-gnu` and
20+
`g++-mipsel-linux-gnu`.
21+
22+
Add `mipsel-unknown-linux-gnu` as `target` list in `config.toml`.
23+
24+
## Building Rust programs
25+
26+
Rust does not ship pre-compiled artifacts for this target. To compile for
27+
this target, you will need to build Rust with the target enabled (see
28+
"Building the target" above).

0 commit comments

Comments
 (0)