diff options
| author | Tsukasa OI <floss_rust@irq.a4lg.com> | 2025-07-31 07:39:10 +0000 |
|---|---|---|
| committer | Tsukasa OI <floss_rust@irq.a4lg.com> | 2025-07-31 07:39:10 +0000 |
| commit | c51e5ce452c96886bab78a8e736c750dd9e79fbd (patch) | |
| tree | 85b9f5b537ca9cee5750ba47a0b37a7dfc639a06 /library/std_detect/tests | |
| parent | 32e7a4b92b109c24e9822c862a7c74436b50e564 (diff) | |
| download | rust-c51e5ce452c96886bab78a8e736c750dd9e79fbd.tar.gz rust-c51e5ce452c96886bab78a8e736c750dd9e79fbd.zip | |
std_detect: Linux 6.16 support for RISC-V
It adds feature detection of 1 extension (new in std_detect). New RISC-V Extension: 1. "Zabha"
Diffstat (limited to 'library/std_detect/tests')
| -rw-r--r-- | library/std_detect/tests/cpu-detection.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std_detect/tests/cpu-detection.rs b/library/std_detect/tests/cpu-detection.rs index 5ad32d83237..0c4fa57f2b4 100644 --- a/library/std_detect/tests/cpu-detection.rs +++ b/library/std_detect/tests/cpu-detection.rs @@ -242,6 +242,7 @@ fn riscv_linux() { println!("zalrsc: {}", is_riscv_feature_detected!("zalrsc")); println!("zaamo: {}", is_riscv_feature_detected!("zaamo")); println!("zawrs: {}", is_riscv_feature_detected!("zawrs")); + println!("zabha: {}", is_riscv_feature_detected!("zabha")); println!("zacas: {}", is_riscv_feature_detected!("zacas")); println!("zam: {}", is_riscv_feature_detected!("zam")); println!("ztso: {}", is_riscv_feature_detected!("ztso")); |
