We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5812b1f commit da8ac73Copy full SHA for da8ac73
1 file changed
library/proc_macro/src/bridge/buffer.rs
@@ -119,7 +119,9 @@ impl Write for Buffer {
119
}
120
121
impl Drop for Buffer {
122
- #[inline]
+ // HACK(nbdd0121): Hack to prevent LLVM < 17.0.4 from misoptimising,
123
+ // change to `#[inline]` if fixed.
124
+ #[inline(never)]
125
fn drop(&mut self) {
126
let b = self.take();
127
(b.drop)(b);
0 commit comments