-
Notifications
You must be signed in to change notification settings - Fork 36
Migrate to the buffer_fixed!
macro
#186
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
Conversation
Why are you removing There are definitely valid reasons to test release builds, like debug assertion macros having interactions which would cause failures in releases. If anything we should test both. |
I think the use of
How does it work? Release builds by default remove debug assertions. Modulo compiler bugs and pathologically badly written code (like having side effects inside Either way, I am fine with doing it in a separate PR. |
It would be good if tests could actually catch cases like this, rather than leaving it to a reviewer to do so |
I don't think we had any bugs like this in RustCrypto. |
It's a bugclass we can easily test for and prevent |
But we do not do it anywhere else. And AFAIK most Rust projects do not do it either (I can not name even a single such project out of my head). The use of |
https://github.com/search?q=%22cargo+test+--release%22&type=code |
Please take a careful look at the search results. Almost all of them have zero relation to CI testing. And it looks like most of them are just a way to run tests with optimizations instead of changing I am not saying that were may be projects in the wild which run CI tests both with and without |
We’re developing high assurance software and test all sorts of other combinations. I am at a loss why you consider this so controversial. |
Because AFAIK we do not use this combination anywhere else in our repositories. I am also at loss why you are so protective of this historic artifact which was used to just improve CI times. There are other much better ways to improve our CI like running Miri whenever possible, assuring that our code does not contain panics, or running tests on more exotic targets. Running tests with If you really think that it's a worthwhile idea, then we should discuss it separately and assuming we achieve agreement, gradually apply it to all our repositories. |
Yes, and it would’ve been nice to discuss in a purpose-dedicated issue instead of being merged in an unrelated PR |
You can open an issue in the meta repository. Meanwhile #187 makes CI consistent with other repositories and I believe should be merged without waiting for results of the discussion. |
Opened RustCrypto/meta#23 |
Depends on RustCrypto/traits#1799.