diff options
| author | bors <bors@rust-lang.org> | 2016-01-26 22:10:10 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2016-01-26 22:10:10 +0000 |
| commit | 4b615854f00ba17ad704155e1d3196c17a6edb62 (patch) | |
| tree | 7fb690a89170c12be9c66adb00d93ddf9aa377c3 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | a9e139b66c786423334c5f09f71ec8b0492742f8 (diff) | |
| parent | cb343c33acf0f9833d8d6eb637234acf4321976b (diff) | |
| download | rust-4b615854f00ba17ad704155e1d3196c17a6edb62.tar.gz rust-4b615854f00ba17ad704155e1d3196c17a6edb62.zip | |
Auto merge of #31120 - alexcrichton:attribute-deny-warnings, r=brson
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
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
| -rw-r--r-- | src/libstd/sys/unix/stack_overflow.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/sys/unix/stack_overflow.rs b/src/libstd/sys/unix/stack_overflow.rs index fc49f4257be..c7614db3299 100644 --- a/src/libstd/sys/unix/stack_overflow.rs +++ b/src/libstd/sys/unix/stack_overflow.rs @@ -7,6 +7,7 @@ // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except according to those terms. + #![cfg_attr(test, allow(dead_code))] use libc; |
