Auto merge of #14792 - servo:tl-unsafe, r=emilio

Stop allowing unsafe code around thread_local.

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14792)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-12-30 03:04:12 -08:00 committed by GitHub
commit 608511ddc3
2 changed files with 0 additions and 6 deletions

View file

@ -4,9 +4,6 @@
//! Data needed by the layout thread.
// for thread_local
#![allow(unsafe_code)]
use fnv::FnvHasher;
use gfx::display_list::WebRenderImageInfo;
use gfx::font_cache_thread::FontCacheThread;

View file

@ -5,9 +5,6 @@
//! 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 serde_json::{to_string, to_value, Value};