Commit 59866ef
authored
Rollup merge of rust-lang#147015 - Zalathar:dispose-tm, r=lqd
Use `LLVMDisposeTargetMachine`
After bumping the minimum LLVM version to 20 (rust-lang#145071), we no longer need to run any custom code when disposing of a TargetMachine, so we can just use the upstream LLVM-C function.File tree
3 files changed
+3
-8
lines changed- compiler
- rustc_codegen_llvm/src
- back
- llvm
- rustc_llvm/llvm-wrapper
3 files changed
+3
-8
lines changedLines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
99 | | - | |
100 | | - | |
| 98 | + | |
101 | 99 | | |
102 | 100 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1053 | 1053 | | |
1054 | 1054 | | |
1055 | 1055 | | |
| 1056 | + | |
| 1057 | + | |
1056 | 1058 | | |
1057 | 1059 | | |
1058 | 1060 | | |
| |||
2499 | 2501 | | |
2500 | 2502 | | |
2501 | 2503 | | |
2502 | | - | |
2503 | 2504 | | |
2504 | 2505 | | |
2505 | 2506 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
359 | 359 | | |
360 | 360 | | |
361 | 361 | | |
362 | | - | |
363 | | - | |
364 | | - | |
365 | | - | |
366 | 362 | | |
367 | 363 | | |
368 | 364 | | |
| |||
0 commit comments