Skip to content

rustc_target: add riscv64a23-unknown-none-elf target (Tier 3)#154956

Open
Zartada wants to merge 1 commit intorust-lang:mainfrom
rustcor-foundry:add-riscv64a23-none-elf-target
Open

rustc_target: add riscv64a23-unknown-none-elf target (Tier 3)#154956
Zartada wants to merge 1 commit intorust-lang:mainfrom
rustcor-foundry:add-riscv64a23-none-elf-target

Conversation

@Zartada
Copy link
Copy Markdown

@Zartada Zartada commented Apr 7, 2026

The RVA23U64 mandatory profile is the 2023 application-class baseline for 64-bit RISC-V. It includes Zba/Zbb/Zbs bit-manipulation, Zfhmin half-precision, Zawrs wait-on-reservation-set, Zic64b/Ziccamoa cache operations, the full V vector extension, and several crypto profiles.

riscv64gc-unknown-none-elf exists but targets generic-rv64 without any of these extensions. The corresponding Linux target riscv64a23-unknown-linux-gnu was added previously; this adds the bare- metal none-elf variant for kernel and runtime development targeting modern server-class RISC-V hardware.

Target properties mirror riscv64gc-unknown-none-elf: LLD linker, static relocation model, medium code model, panic=abort, no std. Adds KernelAddress and ShadowCallStack sanitizer support.

Tier: 3 (no host tools, no std)

The RVA23U64 mandatory profile is the 2023 application-class baseline
for 64-bit RISC-V. It includes Zba/Zbb/Zbs bit-manipulation, Zfhmin
half-precision, Zawrs wait-on-reservation-set, Zic64b/Ziccamoa cache
operations, the full V vector extension, and several crypto profiles.

riscv64gc-unknown-none-elf exists but targets generic-rv64 without any
of these extensions. The corresponding Linux target
riscv64a23-unknown-linux-gnu was added previously; this adds the bare-
metal none-elf variant for kernel and runtime development targeting
modern server-class RISC-V hardware.

Target properties mirror riscv64gc-unknown-none-elf: LLD linker, static
relocation model, medium code model, panic=abort, no std. Adds
KernelAddress and ShadowCallStack sanitizer support.

Tier: 3 (no host tools, no std)
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented Apr 7, 2026

These commits modify compiler targets.
(See the Target Tier Policy.)

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Apr 7, 2026
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented Apr 7, 2026

r? @JohnTitor

rustbot has assigned @JohnTitor.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: compiler
  • compiler expanded to 69 candidates
  • Random selection from 10 candidates

@jieyouxu
Copy link
Copy Markdown
Member

jieyouxu commented Apr 8, 2026

r? compiler_leads

@rustbot rustbot assigned davidtwco and unassigned JohnTitor Apr 8, 2026
@davidtwco
Copy link
Copy Markdown
Member

Could you reply with a acknowledgement of the requirements of the target tier policy? #152757 (comment) is a good example

@reddevilmidzy
Copy link
Copy Markdown
Member

@rustbot author

@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Apr 14, 2026
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented Apr 14, 2026

Reminder, once the PR becomes ready for a review, use @rustbot ready.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants