fix labled expressions

This commit is contained in:
Aleksey Kladov 2018-09-08 09:18:42 +03:00
parent 127814d9a7
commit 44334f6f56
9 changed files with 313 additions and 14 deletions

View file

@ -38,7 +38,9 @@ pub fn main_loop(
msg_sender: &mut Sender<RawMessage>,
) -> Result<()> {
let pool = rayon::ThreadPoolBuilder::new()
.num_threads(4).build()
.num_threads(4)
.panic_handler(|_| error!("thread panicked :("))
.build()
.unwrap();
let (task_sender, task_receiver) = unbounded::<Task>();
let (fs_sender, fs_receiver, fs_watcher) = vfs::roots_loader();