mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Deny unsafe code in more crates.
This commit is contained in:
parent
c90a1b9b1c
commit
08083f1c9d
17 changed files with 44 additions and 0 deletions
|
@ -18,6 +18,8 @@
|
|||
#![plugin(plugins)]
|
||||
#![plugin(serde_macros)]
|
||||
|
||||
#![deny(unsafe_code)]
|
||||
|
||||
extern crate alloc;
|
||||
extern crate app_units;
|
||||
extern crate azure;
|
||||
|
@ -98,7 +100,9 @@ pub mod font_template;
|
|||
pub mod paint_thread;
|
||||
|
||||
// Platform-specific implementations.
|
||||
#[allow(unsafe_code)]
|
||||
pub mod platform;
|
||||
|
||||
// Text
|
||||
#[allow(unsafe_code)]
|
||||
pub mod text;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue