Switch to thread_local crate in lieu of thread_local!.

This is to work around a bug where using a thread_local! was causing
a segfault on macos.

Fixes #164.
This commit is contained in:
Andrew Gallant
2016-10-11 18:23:49 -04:00
parent 4981991a6e
commit 247a9398f4
4 changed files with 22 additions and 21 deletions

View File

@@ -16,6 +16,7 @@ extern crate num_cpus;
extern crate regex;
extern crate rustc_serialize;
extern crate term;
extern crate thread_local;
extern crate walkdir;
#[cfg(windows)]
extern crate winapi;