-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Move deny(warnings) into rustbuild #49715
Conversation
Just to be sure, the |
The default behavior is to deny warnings, so yes. |
src/liballoc_jemalloc/lib.rs
Outdated
@@ -14,7 +14,7 @@ | |||
reason = "this library is unlikely to be stabilized in its current \ | |||
form or name", | |||
issue = "27783")] | |||
#![deny(warnings)] | |||
#![feature(alloc)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this change intentional? seems odd
Sounds like a great idea to me! I wouldn't personally feel the need to have the command line flag as well, but now that it's done there's certainly no harm. I wonder if it'd be best now though to disable warnings by default and update |
er, disable deny(warnings) by default* |
@cramertj expressed at the all-hands that he preferred I am perfectly fine changing my |
3f3edf1
to
b5a3b29
Compare
@alexcrichton I think feedback above indicates we may not want to make this a default, and either way that seems like something we should do down the line. I fixed the nit that @steveklabnik noticed (thanks!) so I believe this is good to go. |
@bors: r+ Seems reasonable to me! |
📌 Commit b5a3b29 has been approved by |
☔ The latest upstream changes (presumably #49661) made this pull request unmergeable. Please resolve the merge conflicts. |
This permits easier iteration without having to worry about warnings being denied. Fixes rust-lang#49517
b5a3b29
to
c115cc6
Compare
@bors r=alexcrichton |
📌 Commit c115cc6 has been approved by |
⌛ Testing commit c115cc6 with merge 8b36e1691a8403b545655840b3eb2e1530327ede... |
💔 Test failed - status-appveyor |
Seems like we now run
|
@ishitatsuyuki Any thoughts on that error? It looks like this code was added by you in #48575; I'm wondering if we should ignore that warning or if it's just that we don't properly consider link_args... |
I believe I tested that out locally a few days ago and rustc is basically incorrectly reporting that it's an unused attribute, you'll probably want to attach an |
Okay, added a commit to allow that warning. @bors r=alexcrichton |
📌 Commit 46aad25 has been approved by |
⌛ Testing commit 46aad25ab96aa239ccbc0b23f3f11520b2252376 with merge 5c943cf5a213407d51eba89edab56065b8df5696... |
💔 Test failed - status-appveyor |
And another one of the same:
|
46aad25
to
53718d2
Compare
@bors r=alexcrichton |
📌 Commit 53718d2 has been approved by |
Move deny(warnings) into rustbuild This permits easier iteration without having to worry about warnings being denied. Fixes #49517
☀️ Test successful - status-appveyor, status-travis |
This permits easier iteration without having to worry about warnings
being denied.
Fixes #49517