Skip to content

Commit

Permalink
Revert "Add a hack to prevent proc_macro misopt in CI"
Browse files Browse the repository at this point in the history
This reverts commit da8ac73.
  • Loading branch information
cuviper committed Sep 18, 2024
1 parent 6fd8a50 commit 8bab397
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions library/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 8bab397

Please sign in to comment.