Skip to content

Commit d53d48a

Browse files
Rollup merge of rust-lang#130487 - cuviper:min-llvm-18, r=nikic
Update the minimum external LLVM to 18 With this change, we'll have stable support for LLVM 18 and 19. For reference, the previous increase to LLVM 17 was rust-lang#122649. cc `@rust-lang/wg-llvm` r? nikic
2 parents f63c0c1 + 886fc13 commit d53d48a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

proc_macro/src/bridge/buffer.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,7 @@ impl Write for Buffer {
119119
}
120120

121121
impl Drop for Buffer {
122-
// HACK(nbdd0121): Hack to prevent LLVM < 17.0.4 from misoptimising,
123-
// change to `#[inline]` if fixed.
124-
#[inline(never)]
122+
#[inline]
125123
fn drop(&mut self) {
126124
let b = self.take();
127125
(b.drop)(b);

0 commit comments

Comments
 (0)