diff options
| author | bors <bors@rust-lang.org> | 2023-08-27 10:32:24 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-08-27 10:32:24 +0000 |
| commit | d1fb1755aa4e05a5addb5ca2d1d49f09da76a2d5 (patch) | |
| tree | 7b5b48db1da6796c8a2d4d79e8404071ed867dd5 /compiler/rustc_interface/src | |
| parent | f320f42c593b4353ea47448805f009ca0646cb06 (diff) | |
| parent | ef0651972fcbc6afc56ca7b9e734c354f4f90be4 (diff) | |
| download | rust-d1fb1755aa4e05a5addb5ca2d1d49f09da76a2d5.tar.gz rust-d1fb1755aa4e05a5addb5ca2d1d49f09da76a2d5.zip | |
Auto merge of #115079 - cuviper:unused-mcinfo, r=Mark-Simulacrum
Move a local to the `#if` block where it is used For other cases (LLVM < 17), this was complaining under `-Wall`: ``` warning: llvm-wrapper/PassWrapper.cpp: In function ‘void LLVMRustPrintTargetCPUs(LLVMTargetMachineRef, const char*)’: warning: llvm-wrapper/PassWrapper.cpp:311:26: warning: unused variable ‘MCInfo’ [-Wunused-variable] warning: 311 | const MCSubtargetInfo *MCInfo = Target->getMCSubtargetInfo(); warning: | ^~~~~~ ```
Diffstat (limited to 'compiler/rustc_interface/src')
0 files changed, 0 insertions, 0 deletions
