diff options
Diffstat (limited to 'components/profile/lib.rs')
-rw-r--r-- | components/profile/lib.rs | 4 |
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; |