Enable more compliler lints.

This commit is contained in:
Dan Gohman
2018-02-23 22:27:52 -08:00
parent 1cf9a8d669
commit b9f51d7850
6 changed files with 18 additions and 6 deletions

View File

@@ -1,7 +1,9 @@
//! Performs autodetection of the host for the purposes of running
//! Cretonne to generate code to run on the same machine.
#![deny(missing_docs)]
#![deny(missing_docs,
trivial_numeric_casts,
unused_extern_crates)]
extern crate cretonne;