1
Fork 0

mk: Move from -D warnings to #![deny(warnings)]

This commit removes the `-D warnings` flag being passed through the makefiles to
all 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 a `cfg(stage0)`
attribute currently to match the same semantics we have today
This commit is contained in:
Alex Crichton 2016-01-21 15:26:19 -08:00
parent 6866f1361d
commit 2273b52023
39 changed files with 49 additions and 20 deletions

View file

@ -23,6 +23,7 @@
html_root_url = "https://doc.rust-lang.org/nightly/",
html_playground_url = "https://play.rust-lang.org/",
test(attr(deny(warnings))))]
#![cfg_attr(not(stage0), deny(warnings))]
#![feature(staged_api)]
#![feature(unicode)]