-
Notifications
You must be signed in to change notification settings - Fork 13.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vec_deque::tests::test_drain panicking on debug build #29492
Comments
cc @mystor |
I'll try to look at this tonight. Not sure why that would be happening :-/ |
I think this should fix the test failures in debug mode from #29492 The assertion was written incorrectly, and I don't like the way the new assertion is written, but I _think_ it does the right thing now.
Was this fixed by #29545? |
yes, I believe it was. |
How can it have escaped the buildbots in the first place? |
@bluss I guess tests are not run in debug mode, so debug assertions aren't hit? Who knows. |
That sounds terrifying |
Yeah currently the builder that builds the standard library in debug mode is too slow to also run tests unfortunately :( |
One of many reasons why debug asserts are unfortunately borderline useless in std. :( At least it was the test that was broken, and not the code! |
vec_deque::tests::test_drain panicking on debug build
Here are my configure switches:
I suspect the important bit there is the
--enable-debug
.When I run
make check
, it fails duringcollectionstest
:I'm not familiar with the code in question, so its not immediately apparent if this is just a case of an invalid assertion, or some deeper violation of a structural invariant.
The text was updated successfully, but these errors were encountered: