Skip to content

Commit 224fd13

Browse files
committed
change riscv64a23 target reqirements comments: linux kernel 6.8.0, glibc 2.39
1 parent 87fd289 commit 224fd13

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ pub(crate) fn target() -> Target {
66
Target {
77
llvm_target: "riscv64-unknown-linux-gnu".into(),
88
metadata: TargetMetadata {
9-
description: Some("RISC-V Linux (kernel 4.20, glibc 2.29)".into()),
9+
description: Some("RISC-V Linux (kernel 6.8.0, glibc 2.39)".into()),
1010
tier: Some(3),
1111
host_tools: Some(true),
1212
std: Some(true),

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ target | std | host | notes
389389
[`riscv64gc-unknown-nuttx-elf`](platform-support/nuttx.md) | ✓ | | RISC-V 64bit with NuttX
390390
[`riscv64gc-unknown-openbsd`](platform-support/openbsd.md) | ✓ | ✓ | OpenBSD/riscv64
391391
[`riscv64imac-unknown-nuttx-elf`](platform-support/nuttx.md) | ✓ | | RISC-V 64bit with NuttX
392-
[`riscv64a23-unknown-linux-gnu`](platform-support/riscv64a23-unknown-linux-gnu.md) | ✓ | ✓ | RISC-V Linux (kernel 4.20+, glibc 2.29)
392+
[`riscv64a23-unknown-linux-gnu`](platform-support/riscv64a23-unknown-linux-gnu.md) | ✓ | ✓ | RISC-V Linux (kernel 6.8.0+, glibc 2.39)
393393
[`s390x-unknown-linux-musl`](platform-support/s390x-unknown-linux-musl.md) | ✓ | | S390x Linux (kernel 3.2, musl 1.2.3)
394394
`sparc-unknown-linux-gnu` | ✓ | | 32-bit SPARC Linux
395395
[`sparc-unknown-none-elf`](./platform-support/sparc-unknown-none-elf.md) | * | | Bare 32-bit SPARC V7+

src/doc/rustc/src/platform-support/riscv64a23-unknown-linux-gnu.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,9 @@ This target will enable all mandary features of rva23u64 and rva23s64 by default
1212

1313
## Requirements
1414

15-
This target requires:
15+
This target can be sucessfully build on the following platform: ubuntu 24.04 (Linux Kernel version 6.8.0, glibc 2.39).
1616

17-
* Linux Kernel version 4.20 or later
18-
* glibc 2.17 or later
17+
Other platforms may work, but are not tested. Please contanct if you encounter any issues.
1918

2019
## Building the target
2120

0 commit comments

Comments
 (0)