From 889b9ad3f05da1a02275b9c2c6a2b7386136a8b2 Mon Sep 17 00:00:00 2001 From: Connor Imes Date: Thu, 17 Nov 2016 19:33:32 -0800 Subject: [PATCH] Allow unsafe code for energy module (build failure otherwise) --- components/profile_traits/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/components/profile_traits/lib.rs b/components/profile_traits/lib.rs index 1a099fb6a32..7f67575f6cb 100644 --- a/components/profile_traits/lib.rs +++ b/components/profile_traits/lib.rs @@ -21,6 +21,7 @@ extern crate serde_derive; extern crate signpost; extern crate util; +#[allow(unsafe_code)] pub mod energy; pub mod mem; pub mod time;