mirror of https://github.com/rust-lang/rust.git
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 {
|
impl Drop for Buffer {
|
||||||
// HACK(nbdd0121): Hack to prevent LLVM < 17.0.4 from misoptimising,
|
#[inline]
|
||||||
// change to `#[inline]` if fixed.
|
|
||||||
#[inline(never)]
|
|
||||||
fn drop(&mut self) {
|
fn drop(&mut self) {
|
||||||
let b = self.take();
|
let b = self.take();
|
||||||
(b.drop)(b);
|
(b.drop)(b);
|
||||||
|
|
Loading…
Reference in New Issue