Use mitochondria::OnceCell to store ScriptThread in TLS

This commit is contained in:
Anthony Ramine 2017-01-21 14:59:08 +01:00
parent 1b68f79468
commit 2002de441f
4 changed files with 42 additions and 45 deletions

View file

@ -63,6 +63,7 @@ extern crate log;
#[macro_use]
extern crate mime;
extern crate mime_guess;
extern crate mitochondria;
extern crate msg;
extern crate net_traits;
extern crate num_traits;