Revert "Add a hack to prevent proc_macro misopt in CI" · qinheping/verify-rust-std@886fc13 (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Commit 886fc13
Revert "Add a hack to prevent proc_macro misopt in CI"
This reverts commit da8ac73.
File tree
1 file changed
lines changed
1 file changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -119,9 +119,7 @@ impl Write for Buffer { | ||
119 | 119 | } |
120 | 120 | |
121 | 121 | impl Drop for Buffer { |
122 | -// HACK(nbdd0121): Hack to prevent LLVM < 17.0.4 from misoptimising, | |
123 | -// change to `#[inline]` if fixed. | |
124 | -#[inline(never)] | |
122 | +#[inline] | |
125 | 123 | fn drop(&mut self) { |
126 | 124 | let b = self.take(); |
127 | 125 | (b.drop)(b); |