-
Notifications
You must be signed in to change notification settings - Fork 2.6k
add overflow-checks
field to profiles
#3908
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
r? @brson (rust_highfive has picked a reviewer for you, use r? to override) |
I am not super-happy about the logic in |
Thanks! The logic here was mostly just to make Could you also add a test to ensure this is plumbed through and enabled? |
I assume this means using the same logic that
@alexcrichton Do you mean something different than the tests in |
Oh not precisely, we try to make the command line "pretty" by not passing Yeah let's add a test to something like |
674ca76
to
9a4b539
Compare
OK, updated patch pushed with a release-mode, overflow-checks test. I left the logic that adds |
Looks great to me! I think though the test needs to be gated on nightly only? |
Ah, good point! How does that work when |
@froydnj oh we just delete the "if not nightly skip test" checks at that point (eventually ...) |
...and pass `-C overflow-checks` to the compiler when necessary. Fixes rust-lang#2262.
9a4b539
to
803d748
Compare
Hey, OK! |
@bors: r+ |
📌 Commit 803d748 has been approved by |
⌛ Testing commit 803d748 with merge b94fbda... |
💔 Test failed - status-travis |
That seems... odd! Let's see if it's spurious... @bors: retry |
⌛ Testing commit 803d748 with merge 434e7a8... |
add `overflow-checks` field to profiles ...and pass `-C overflow-checks` to the compiler when necessary. Fixes #2262.
☀️ Test successful - status-appveyor, status-travis |
...and pass
-C overflow-checks
to the compiler when necessary.Fixes #2262.