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

@ -53,6 +53,7 @@ libc = "0.2"
log = "0.3.5"
mime = "0.2.1"
mime_guess = "1.8.0"
mitochondria = "1.1.2"
msg = {path = "../msg"}
net_traits = {path = "../net_traits"}
num-traits = "0.1.32"