rust/compiler/rustc_llvm
bors d1fb1755aa 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:       |                          ^~~~~~
```
2023-08-27 10:32:24 +00:00
..
llvm-wrapper Auto merge of #115079 - cuviper:unused-mcinfo, r=Mark-Simulacrum 2023-08-27 10:32:24 +00:00
src add a csky-unknown-linux-gnuabiv2 target 2023-08-14 23:02:36 +08:00
build.rs add a csky-unknown-linux-gnuabiv2 target 2023-08-14 23:02:36 +08:00
Cargo.toml