Skip to content

Add more example target_arch values#2279

Open
patchunwrap wants to merge 1 commit into
rust-lang:masterfrom
patchunwrap:add_more_target_arch_values
Open

Add more example target_arch values#2279
patchunwrap wants to merge 1 commit into
rust-lang:masterfrom
patchunwrap:add_more_target_arch_values

Conversation

@patchunwrap
Copy link
Copy Markdown

These have been collected from
https://doc.rust-lang.org/stable/core/arch/index.html

Since mips was already on the list I figured I would add all target arch options have been added (even ones not available on stable Rust) and add a note to help the reader have the right expectations.

I found this when trying to figure out what the target_arch for riscv would be. I guess I kinda assumed it would be riscv64gc. If there is a different authoritative document somewhere, maybe this should link to that instead. But I figured the reference was that authoritative document.

These have been collected from
https://doc.rust-lang.org/stable/core/arch/index.html

Since mips was already on the list all target arch options have
been added (even ones not available on stable Rust). A note has
been added to inform the reader about target_arch availability.
@rustbot rustbot added the S-waiting-on-review Status: The marked PR is awaiting review from a maintainer label Jun 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: The marked PR is awaiting review from a maintainer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants