about summary refs log tree commit diff
path: root/compiler/rustc_parse/src
diff options
context:
space:
mode:
authorTsukasa OI <floss_rust@irq.a4lg.com>2025-04-06 04:21:01 +0000
committerTsukasa OI <floss_rust@irq.a4lg.com>2025-04-16 01:20:54 +0000
commit52392ec9e1ebc5bf794583e2b2b146367d36b663 (patch)
tree7d9dca76dc9487a93bfcdb7626a2c5e14ccc36de /compiler/rustc_parse/src
parentb084603c631cf4cea540a35aca0ad7b2d8599ef2 (diff)
downloadrust-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