mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Deny unsafe code in style.
This commit is contained in:
parent
3f407ea3d6
commit
2fa45aa064
4 changed files with 9 additions and 0 deletions
|
@ -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"));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue