aboutsummaryrefslogtreecommitdiffstats
path: root/components/profile/lib.rs
diff options
context:
space:
mode:
authorMs2ger <Ms2ger@gmail.com>2016-03-18 14:43:03 +0100
committerMs2ger <Ms2ger@gmail.com>2016-03-18 14:43:03 +0100
commit08083f1c9d08de0e19e16efb9e6923612706032c (patch)
treec6610962bea427b945ba12ecd3cea62b16b46cd6 /components/profile/lib.rs
parentc90a1b9b1c44dbf3d3f9dde7e99f4fccfe598542 (diff)
downloadservo-08083f1c9d08de0e19e16efb9e6923612706032c.tar.gz
servo-08083f1c9d08de0e19e16efb9e6923612706032c.zip
Deny unsafe code in more crates.
Diffstat (limited to 'components/profile/lib.rs')
-rw-r--r--components/profile/lib.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/profile/lib.rs b/components/profile/lib.rs
index b6fa7e57a34..53b7fa0ae2b 100644
--- a/components/profile/lib.rs
+++ b/components/profile/lib.rs
@@ -8,6 +8,8 @@
#![feature(plugin)]
#![plugin(plugins)]
+#![deny(unsafe_code)]
+
#[cfg(not(target_os = "windows"))]
extern crate alloc_jemalloc;
extern crate hbs_pow;
@@ -24,6 +26,8 @@ extern crate task_info;
extern crate time as std_time;
extern crate util;
+#[allow(unsafe_code)]
mod heartbeats;
+#[allow(unsafe_code)]
pub mod mem;
pub mod time;