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/src/detect/os/riscv.rs | |
| 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/src/detect/os/riscv.rs')
| -rw-r--r-- | library/std_detect/src/detect/os/riscv.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std_detect/src/detect/os/riscv.rs b/library/std_detect/src/detect/os/riscv.rs index dc9a4036d86..c6acbd3525b 100644 --- a/library/std_detect/src/detect/os/riscv.rs +++ b/library/std_detect/src/detect/os/riscv.rs @@ -90,7 +90,7 @@ pub(crate) fn imply_features(mut value: cache::Initializer) -> cache::Initialize group!(zks == zbkb & zbkc & zbkx & zksed & zksh); group!(zk == zkn & zkr & zkt); - imply!(zacas => zaamo); + imply!(zabha | zacas => zaamo); group!(a == zalrsc & zaamo); group!(b == zba & zbb & zbs); |
