about summary refs log tree commit diff
path: root/library/stdarch/crates/std_detect/src/lib.rs
diff options
context:
space:
mode:
authorTsukasa OI <floss_rust@irq.a4lg.com>2025-04-06 07:57:22 +0000
committerAmanieu d'Antras <amanieu@gmail.com>2025-04-06 13:27:52 +0000
commit6e4ad9cc18591731af2afabafe5b8ccb96e9e57e (patch)
treec76ef2e97348ac95e4d62d2b8d77f02a12acc8fa /library/stdarch/crates/std_detect/src/lib.rs
parent3ea2e5600f289b91d66b129d1b3f1563859a726e (diff)
downloadrust-6e4ad9cc18591731af2afabafe5b8ccb96e9e57e.tar.gz
rust-6e4ad9cc18591731af2afabafe5b8ccb96e9e57e.zip
RISC-V: check cfg (batch 1)
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"
Diffstat (limited to 'library/stdarch/crates/std_detect/src/lib.rs')
0 files changed, 0 insertions, 0 deletions