mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
Revert "Add a hack to prevent proc_macro misopt in CI"
This reverts commit da8ac73d91
.
This commit is contained in:
parent
6fd8a50680
commit
8bab397835
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user