Revert "Add a hack to prevent proc_macro misopt in CI"

This reverts commit da8ac73d91.
This commit is contained in:
Josh Stone 2024-09-18 08:51:18 -07:00
parent 6fd8a50680
commit 8bab397835

View File

@ -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);