aboutsummaryrefslogtreecommitdiffstats
path: root/components/gfx/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/gfx/lib.rs')
-rw-r--r--components/gfx/lib.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/gfx/lib.rs b/components/gfx/lib.rs
index ccc1f871364..45b164cbe88 100644
--- a/components/gfx/lib.rs
+++ b/components/gfx/lib.rs
@@ -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;