diff --git a/helix-syntax/build.rs b/helix-syntax/build.rs index 009acbff9..70d71f92d 100644 --- a/helix-syntax/build.rs +++ b/helix-syntax/build.rs @@ -126,7 +126,9 @@ fn main() { tx.send(1).unwrap(); }); } - assert_eq!(rx.iter().take(n_jobs).sum::(), n_jobs); + pool.join(); + // drop(tx); + assert_eq!(rx.try_iter().sum::(), n_jobs); build_dir("tree-sitter-typescript/tsx", "tsx"); build_dir("tree-sitter-typescript/typescript", "typescript");