Skip to content

RISC-V: check cfg (batch 1) #1764

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Apr 6, 2025
Merged

Conversation

a4lg
Copy link
Contributor

@a4lg a4lg commented Apr 6, 2025

rust-lang/rust#138823 added five new extensions as compiler target features.
This commit reflects that fact and now checks static target features on std::arch::is_riscv_feature_detected! as well.

  • Zicsr
  • Zicntr
  • Zihpm
  • Zifencei
  • Zihintpause

rust-lang/rust#138823 added five new extensions as compiler target features.
This commit reflects that fact and now checks static target features on
`std::arch::is_riscv_feature_detected!` as well.

*   "Zicsr"
*   "Zicntr"
*   "Zihpm"
*   "Zifencei"
*   "Zihintpause"
@rustbot
Copy link
Collaborator

rustbot commented Apr 6, 2025

r? @Amanieu

rustbot has assigned @Amanieu.
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

@Amanieu Amanieu added this pull request to the merge queue Apr 6, 2025
Merged via the queue into rust-lang:master with commit 289ccdd Apr 6, 2025
60 checks passed
@a4lg a4lg deleted the riscv-check-cfg-batch-1 branch May 31, 2025 12:24
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants