aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/layout_debug.rs
diff options
context:
space:
mode:
authorMs2ger <Ms2ger@gmail.com>2015-12-30 16:05:10 +0100
committerLars Bergstrom <lars@lars.com>2016-01-14 14:56:18 -0600
commit74f6c9b74fcc8839ac9c0ce610b41ae948d2d771 (patch)
treeca170f36519629ffb96eefadebc8d38f35036662 /components/layout/layout_debug.rs
parenta28b5cb43859b6300c0b157c6b3d25d78606dda8 (diff)
downloadservo-74f6c9b74fcc8839ac9c0ce610b41ae948d2d771.tar.gz
servo-74f6c9b74fcc8839ac9c0ce610b41ae948d2d771.zip
Update to rustc 1.7.0-nightly (b4707ebca 2015-12-27)
Diffstat (limited to 'components/layout/layout_debug.rs')
-rw-r--r--components/layout/layout_debug.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/layout/layout_debug.rs b/components/layout/layout_debug.rs
index dc1ac1db946..90b5870e468 100644
--- a/components/layout/layout_debug.rs
+++ b/components/layout/layout_debug.rs
@@ -5,6 +5,9 @@
//! Supports writing a trace file created during each layout scope
//! that can be viewed by an external tool to make layout debugging easier.
+// for thread_local
+#![allow(unsafe_code)]
+
use flow;
use flow_ref::FlowRef;
use rustc_serialize::json;