diff options
| author | Tsukasa OI <floss_rust@irq.a4lg.com> | 2025-04-13 04:35:58 +0000 |
|---|---|---|
| committer | Amanieu d'Antras <amanieu@gmail.com> | 2025-04-16 00:56:48 +0000 |
| commit | ceaeba176072605282377c0aef2059383832bd64 (patch) | |
| tree | f08930a502dea9b92f7ce77fb2e8483161b6d0e1 /library/stdarch/crates/std_detect/tests/cpu-detection.rs | |
| parent | d5baf4da917af26c499ef9b09a716958d21cd78d (diff) | |
| download | rust-ceaeba176072605282377c0aef2059383832bd64.tar.gz rust-ceaeba176072605282377c0aef2059383832bd64.zip | |
RISC-V: Remove privileged extensions for now
Until in-kernel feature detection is implemented, runtime detection of privileged extensions is temporally removed along with features themselves since none of such privileged features are stable. Co-Authored-By: Taiki Endo <te316e89@gmail.com> Co-Authored-By: Amanieu d'Antras <amanieu@gmail.com>
Diffstat (limited to 'library/stdarch/crates/std_detect/tests/cpu-detection.rs')
| -rw-r--r-- | library/stdarch/crates/std_detect/tests/cpu-detection.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/library/stdarch/crates/std_detect/tests/cpu-detection.rs b/library/stdarch/crates/std_detect/tests/cpu-detection.rs index c0a76898d41..0dabca52a2c 100644 --- a/library/stdarch/crates/std_detect/tests/cpu-detection.rs +++ b/library/stdarch/crates/std_detect/tests/cpu-detection.rs @@ -319,11 +319,6 @@ fn riscv_linux() { println!("zvksc: {}", is_riscv_feature_detected!("zvksc")); println!("zvksg: {}", is_riscv_feature_detected!("zvksg")); println!("zvkt: {}", is_riscv_feature_detected!("zvkt")); - println!("svnapot: {}", is_riscv_feature_detected!("svnapot")); - println!("svpbmt: {}", is_riscv_feature_detected!("svpbmt")); - println!("svinval: {}", is_riscv_feature_detected!("svinval")); - println!("h: {}", is_riscv_feature_detected!("h")); - println!("s: {}", is_riscv_feature_detected!("s")); println!("j: {}", is_riscv_feature_detected!("j")); println!("p: {}", is_riscv_feature_detected!("p")); } |
