Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upmk: Move from `-D warnings` to `#![deny(warnings)]` #31120
Conversation
rust-highfive
assigned
brson
Jan 22, 2016
This comment has been minimized.
This comment has been minimized.
|
r? @brson (rust_highfive has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
|
One change I also noticed was that the extern crate rustc_mir;
fn main() {}I added the |
brson
added
relnotes
beta-nominated
labels
Jan 22, 2016
brson
referenced this pull request
Jan 22, 2016
Closed
Add lint that all crates are #[unstable] #31122
This comment has been minimized.
This comment has been minimized.
|
@alexcrichton It may not be worth mentioning but I'll tag it and think about it later. Also nominating for beta, maybe just the rustc_mir crate fix. Here's an issue to lint for this problem: #31122 |
This comment has been minimized.
This comment has been minimized.
|
Oh let me rearrange the commits for the new unstable attribute to be in its own commit to be easily cherry-picked in that case. |
alexcrichton
force-pushed the
alexcrichton:attribute-deny-warnings
branch
from
85ab967
to
3a107c5
Jan 22, 2016
This comment has been minimized.
This comment has been minimized.
|
rearranged |
This comment has been minimized.
This comment has been minimized.
|
@bors r+ |
This comment has been minimized.
This comment has been minimized.
|
|
bors
added a commit
that referenced
this pull request
Jan 23, 2016
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
|
alexcrichton
force-pushed the
alexcrichton:attribute-deny-warnings
branch
from
3a107c5
to
ae8f816
Jan 23, 2016
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
bors
added a commit
that referenced
this pull request
Jan 23, 2016
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
|
|
alexcrichton
force-pushed the
alexcrichton:attribute-deny-warnings
branch
from
ae8f816
to
fc8d780
Jan 24, 2016
This comment has been minimized.
This comment has been minimized.
bors
added a commit
that referenced
this pull request
Jan 24, 2016
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
|
alexcrichton
added some commits
Jan 21, 2016
alexcrichton
force-pushed the
alexcrichton:attribute-deny-warnings
branch
from
fc8d780
to
cc4db8b
Jan 25, 2016
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
travis failed btw
|
tamird
reviewed
Jan 25, 2016
| #[test] | ||
| #[cfg_attr(target_os = "android", ignore)] |
This comment has been minimized.
This comment has been minimized.
alexcrichton
force-pushed the
alexcrichton:attribute-deny-warnings
branch
from
790b862
to
9d95a22
Jan 26, 2016
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
bors
added a commit
that referenced
this pull request
Jan 26, 2016
This comment has been minimized.
This comment has been minimized.
|
|
alexcrichton
force-pushed the
alexcrichton:attribute-deny-warnings
branch
from
9d95a22
to
cdc1c2c
Jan 26, 2016
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
bors
added a commit
that referenced
this pull request
Jan 26, 2016
This comment has been minimized.
This comment has been minimized.
|
|
alexcrichton
force-pushed the
alexcrichton:attribute-deny-warnings
branch
from
cdc1c2c
to
cb343c3
Jan 26, 2016
This comment has been minimized.
This comment has been minimized.
bors
added a commit
that referenced
this pull request
Jan 26, 2016
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
bors
merged commit cb343c3
into
rust-lang:master
Jan 27, 2016
alexcrichton
deleted the
alexcrichton:attribute-deny-warnings
branch
Jan 27, 2016
This was referenced Jan 27, 2016
This comment has been minimized.
This comment has been minimized.
|
flagging as beta-accepted, but only the commit alexcrichton@4b3c355 |
alexcrichton commentedJan 22, 2016
This commit removes the
-D warningsflag being passed through the makefiles toall crates to instead be a crate attribute. We want these attributes always
applied for all our standard builds, and this is more amenable to Cargo-based
builds as well.
Note that all
deny(warnings)attributes are gated with acfg(stage0)attribute currently to match the same semantics we have today