Skip to content

Commit 5a46c78

Browse files
committed
Update dist-various linux-gnu target baselines
These Tier 2 non-host targets were affected by the update to `ubuntu:22.04` in rust-lang#113931, but the platform support page was already out of date after rust-lang#81521 updated to `ubuntu:20.04`. They are now listed for kernel 5.15 and glibc 2.35 as found in 22.04, and a new footnote mentions that this only matters when using the dynamic `libstd.so`.
1 parent b6dd153 commit 5a46c78

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

Diff for: src/doc/rustc/src/platform-support.md

+12-6
Original file line numberDiff line numberDiff line change
@@ -138,18 +138,18 @@ target | std | notes
138138
`arm-unknown-linux-musleabihf` | ✓ | ARMv6 Linux with MUSL, hardfloat
139139
`armebv7r-none-eabi` | * | Bare ARMv7-R, Big Endian
140140
`armebv7r-none-eabihf` | * | Bare ARMv7-R, Big Endian, hardfloat
141-
`armv5te-unknown-linux-gnueabi` | ✓ | ARMv5TE Linux (kernel 4.4, glibc 2.23)
141+
`armv5te-unknown-linux-gnueabi` | ✓ | ARMv5TE Linux (kernel 5.15, glibc 2.35) [^target-glibc]
142142
`armv5te-unknown-linux-musleabi` | ✓ | ARMv5TE Linux with MUSL
143143
[`armv7-linux-androideabi`](platform-support/android.md) | ✓ | ARMv7-A Android
144-
`armv7-unknown-linux-gnueabi` | ✓ | ARMv7-A Linux (kernel 4.15, glibc 2.27)
144+
`armv7-unknown-linux-gnueabi` | ✓ | ARMv7-A Linux (kernel 5.15, glibc 2.35) [^target-glibc]
145145
`armv7-unknown-linux-musleabi` | ✓ | ARMv7-A Linux with MUSL
146146
`armv7-unknown-linux-musleabihf` | ✓ | ARMv7-A Linux with MUSL, hardfloat
147147
`armv7a-none-eabi` | * | Bare ARMv7-A
148148
`armv7r-none-eabi` | * | Bare ARMv7-R
149149
`armv7r-none-eabihf` | * | Bare ARMv7-R, hardfloat
150150
`asmjs-unknown-emscripten` | ✓ | asm.js via Emscripten
151151
`i586-pc-windows-msvc` | * | 32-bit Windows w/o SSE
152-
`i586-unknown-linux-gnu` | ✓ | 32-bit Linux w/o SSE (kernel 3.2, glibc 2.17)
152+
`i586-unknown-linux-gnu` | ✓ | 32-bit Linux w/o SSE (kernel 3.2, glibc 2.17) [^target-glibc]
153153
`i586-unknown-linux-musl` | ✓ | 32-bit Linux w/o SSE, MUSL
154154
[`i686-linux-android`](platform-support/android.md) | ✓ | 32-bit x86 Android
155155
`i686-unknown-freebsd` | ✓ | 32-bit FreeBSD
@@ -165,14 +165,14 @@ target | std | notes
165165
`riscv32imc-unknown-none-elf` | * | Bare RISC-V (RV32IMC ISA)
166166
`riscv64gc-unknown-none-elf` | * | Bare RISC-V (RV64IMAFDC ISA)
167167
`riscv64imac-unknown-none-elf` | * | Bare RISC-V (RV64IMAC ISA)
168-
`sparc64-unknown-linux-gnu` | ✓ | SPARC Linux (kernel 4.4, glibc 2.23)
168+
`sparc64-unknown-linux-gnu` | ✓ | SPARC Linux (kernel 5.15, glibc 2.35) [^target-glibc]
169169
`sparcv9-sun-solaris` | ✓ | SPARC Solaris 10/11, illumos
170170
`thumbv6m-none-eabi` | * | Bare ARMv6-M
171171
`thumbv7em-none-eabi` | * | Bare ARMv7E-M
172172
`thumbv7em-none-eabihf` | * | Bare ARMV7E-M, hardfloat
173173
`thumbv7m-none-eabi` | * | Bare ARMv7-M
174174
[`thumbv7neon-linux-androideabi`](platform-support/android.md) | ✓ | Thumb2-mode ARMv7-A Android with NEON
175-
`thumbv7neon-unknown-linux-gnueabihf` | ✓ | Thumb2-mode ARMv7-A Linux with NEON (kernel 4.4, glibc 2.23)
175+
`thumbv7neon-unknown-linux-gnueabihf` | ✓ | Thumb2-mode ARMv7-A Linux with NEON (kernel 5.15, glibc 2.35) [^target-glibc]
176176
`thumbv8m.base-none-eabi` | * | Bare ARMv8-M Baseline
177177
`thumbv8m.main-none-eabi` | * | Bare ARMv8-M Mainline
178178
`thumbv8m.main-none-eabihf` | * | Bare ARMv8-M Mainline, hardfloat
@@ -186,11 +186,17 @@ target | std | notes
186186
`x86_64-unknown-fuchsia` | ✓ | 64-bit Fuchsia
187187
[`x86_64-linux-android`](platform-support/android.md) | ✓ | 64-bit x86 Android
188188
`x86_64-pc-solaris` | ✓ | 64-bit Solaris 10/11, illumos
189-
`x86_64-unknown-linux-gnux32` | ✓ | 64-bit Linux (x32 ABI) (kernel 4.15, glibc 2.27)
189+
`x86_64-unknown-linux-gnux32` | ✓ | 64-bit Linux (x32 ABI) (kernel 5.15, glibc 2.35) [^target-glibc]
190190
[`x86_64-unknown-none`](platform-support/x86_64-unknown-none.md) | * | Freestanding/bare-metal x86_64, softfloat
191191
`x86_64-unknown-redox` | ✓ | Redox OS
192192
[`x86_64-unknown-uefi`](platform-support/unknown-uefi.md) | * | 64-bit UEFI
193193

194+
[^target-glibc]: For non-host `linux-gnu` targets, the listed kernel and glibc
195+
versions only apply to use of the rustup-distributed dynamic library
196+
`libstd.so`, when building with `-C prefer-dynamic`. The default use of
197+
static `libstd.rlib` will generally be compatible with the oldest baseline
198+
available, currently kernel 3.2 and glibc 2.17.
199+
194200
[Fortanix ABI]: https://edp.fortanix.com/
195201

196202
## Tier 3

0 commit comments

Comments
 (0)