rustbuild: Deny and fix warnings

Turned out this lint uncovered an actual bug!

Closes #38484
This commit is contained in:
Alex Crichton
2016-12-20 09:38:13 -08:00
parent 94ae2a2e67
commit 57cf2ab31c
4 changed files with 7 additions and 1 deletions

View File

@@ -12,6 +12,8 @@
//!
//! See comments in `src/bootstrap/rustc.rs` for more information.
#![deny(warnings)]
extern crate bootstrap;
use std::env;