diff options
| author | Tsukasa OI <floss_rust@irq.a4lg.com> | 2025-04-06 07:57:22 +0000 |
|---|---|---|
| committer | Amanieu d'Antras <amanieu@gmail.com> | 2025-04-06 13:27:52 +0000 |
| commit | 6e4ad9cc18591731af2afabafe5b8ccb96e9e57e (patch) | |
| tree | c76ef2e97348ac95e4d62d2b8d77f02a12acc8fa /library/stdarch/crates/std_detect/src/lib.rs | |
| parent | 3ea2e5600f289b91d66b129d1b3f1563859a726e (diff) | |
| download | rust-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
