Deny unsafe code in style.

This commit is contained in:
Ms2ger 2015-12-29 13:12:52 +01:00
parent 3f407ea3d6
commit 2fa45aa064
4 changed files with 9 additions and 0 deletions

View file

@ -14,6 +14,8 @@
#![plugin(serde_macros)]
#![plugin(plugins)]
#![deny(unsafe_code)]
extern crate app_units;
#[macro_use]
extern crate bitflags;
@ -61,6 +63,7 @@ pub mod viewport;
// Generated from the properties.mako.rs template by build.rs
#[macro_use]
#[allow(unsafe_code)]
pub mod properties {
include!(concat!(env!("OUT_DIR"), "/properties.rs"));
}