about summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/src/abi/mod.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-11-09 09:46:08 +0000
committerbors <bors@rust-lang.org>2024-11-09 09:46:08 +0000
commit4b198d6871e4a3826f01f7d6111b1c3484853cd8 (patch)
treea796beedb02951ec128f5c1a54c252096ce02911 /compiler/rustc_codegen_cranelift/src/abi/mod.rs
parent62bb2ac03e775110d2c889f5d4a01a71e7334ff0 (diff)
parent920d2774ac92b102dedf07d04d5fd80214881699 (diff)
downloadrust-4b198d6871e4a3826f01f7d6111b1c3484853cd8.tar.gz
rust-4b198d6871e4a3826f01f7d6111b1c3484853cd8.zip
Auto merge of #132584 - Zalathar:includes, r=cuviper
Trim and tidy includes in `rustc_llvm`

These includes tend to accumulate over time, and are usually only removed when something breaks in a new LLVM version, so it's nice to clean them up manually once in a while.

General strategy used for this PR:
- Remove all includes from `LLVMWrapper.h` that aren't needed by the header itself, transplanting them to individual source files as necessary.
- For each source file, temporarily remove each include if doing so doesn't cause a compile error.
- If a “required” include looks like it shouldn't be needed, try replacing it with its sub-includes, then trim that list.
- After doing all of the above, go back and re-add any removed include if the file does actually use things defined in that header, even if the header happens to also be included by something else.
Diffstat (limited to 'compiler/rustc_codegen_cranelift/src/abi/mod.rs')
0 files changed, 0 insertions, 0 deletions