Closed Imberflur closed 1 month ago
Hmm. I see AddressSanitizer also complains about the same leak.
Given that it would complicate CI, and how Vec and VecDeque behave, trying to avoid the risk of potential abort for bad future here may not actually be a worthwhile goal...
I could just ignore this test there? The main thing it tests for is caught by miri.
It feels kind of bad to change this due to testing issues....
TBH if there was a test for hitting the abort case that would probably have issues too since iirc there isn't a good way to test should_abort
:(
Fixes https://github.com/rust-lang/futures-rs/issues/2863