diff options
author | Andrew Gallant <jamslam@gmail.com> | 2016-10-11 18:23:49 -0400 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2016-10-11 18:23:49 -0400 |
commit | 247a9398f4dd1903ed561aa1bb2ba088a70c5a79 (patch) | |
tree | 8a17614dc25dca1a3ae13dec60f660029efa01a2 /src/main.rs | |
parent | 4981991a6e4d1808d54c8d20fc4d93fcf0c1abfe (diff) |
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.
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index c70a3c52..7a6ac021 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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; |