Rollup merge of #130487 - cuviper:min-llvm-18, r=nikic · qinheping/verify-rust-std@d53d48a (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Commit d53d48a

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

File tree

1 file changed

lines changed

1 file changed

lines changed

Original file line number Diff line number Diff line change
@@ -119,9 +119,7 @@ impl Write for Buffer {
119 119 }
120 120
121 121 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]
125 123 fn drop(&mut self) {
126 124 let b = self.take();
127 125 (b.drop)(b);