Skip to content

Commit

Permalink
Rollup merge of rust-lang#130487 - cuviper:min-llvm-18, r=nikic
Browse files Browse the repository at this point in the history
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
  • Loading branch information
workingjubilee authored Sep 18, 2024
2 parents f63c0c1 + 886fc13 commit d53d48a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions proc_macro/src/bridge/buffer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,7 @@ impl Write for Buffer {
}

impl Drop for Buffer {
// HACK(nbdd0121): Hack to prevent LLVM < 17.0.4 from misoptimising,
// change to `#[inline]` if fixed.
#[inline(never)]
#[inline]
fn drop(&mut self) {
let b = self.take();
(b.drop)(b);
Expand Down

0 comments on commit d53d48a

Please sign in to comment.