mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
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:
commit
608511ddc3
2 changed files with 0 additions and 6 deletions
|
@ -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;
|
||||
|
|
|
@ -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};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue