about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/interface.rs
diff options
context:
space:
mode:
authorStuart Cook <Zalathar@users.noreply.github.com>2025-09-19 22:31:51 +1000
committerGitHub <noreply@github.com>2025-09-19 22:31:51 +1000
commit19211dfd0fff2a98e1260824d8c79e38675825a9 (patch)
tree46b73b98216907e675cbbdd9a828cd0ef1ec21be /compiler/rustc_interface/src/interface.rs
parentff8d63ae438f8d637e0e4663df8b12a8650ff51e (diff)
parenta1a3cd043815a8b6e5faf53f33002d8dec1b2f30 (diff)
downloadrust-19211dfd0fff2a98e1260824d8c79e38675825a9.tar.gz
rust-19211dfd0fff2a98e1260824d8c79e38675825a9.zip
Rollup merge of #146615 - a4lg:codegen-llvm-feature-conversion-tidying, r=workingjubilee
rustc_codegen_llvm: Feature Conversion Tidying

The author thinks we can improve `to_llvm_features`, a function to convert a Rust target feature name into an LLVM feature (or nothing, to ignore features unsupported by LLVM) for better maintainability.

1.  We can simplify some clauses and some expressions.
2.  There are some readability issues.

This PR attempts to resolve some of them by tidying many cases.
Diffstat (limited to 'compiler/rustc_interface/src/interface.rs')
0 files changed, 0 insertions, 0 deletions