diff options
| author | Tsukasa OI <floss_rust@irq.a4lg.com> | 2025-04-06 04:21:01 +0000 |
|---|---|---|
| committer | Tsukasa OI <floss_rust@irq.a4lg.com> | 2025-04-16 01:20:54 +0000 |
| commit | 52392ec9e1ebc5bf794583e2b2b146367d36b663 (patch) | |
| tree | 7d9dca76dc9487a93bfcdb7626a2c5e14ccc36de /compiler/rustc_parse/src | |
| parent | b084603c631cf4cea540a35aca0ad7b2d8599ef2 (diff) | |
| download | rust-52392ec9e1ebc5bf794583e2b2b146367d36b663.tar.gz rust-52392ec9e1ebc5bf794583e2b2b146367d36b663.zip | |
rustc_target: Use "B" shorthand on the RISC-V Android target
The "B" extension is ratified as a combination of three extensions: "Zba", "Zbb" and "Zbs". To maximize discoverability of the RISC-V target features, this commit makes use of the "B" extension instead of its three members. This way, `#[cfg(target_feature = "b")]` can also be used instead of: `#[cfg(all(target_feature = "zba", target_feature = "zbb", target_feature = "zbs"))]`
Diffstat (limited to 'compiler/rustc_parse/src')
0 files changed, 0 insertions, 0 deletions
