Skip to content

Commit 69350a4

Browse files
committed
Revert "Add a hack to prevent proc_macro misopt in CI"
This reverts commit da8ac73.
1 parent 3ecf8e9 commit 69350a4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

library/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)