Browse Source

Merge pull request #261 from rrichardson/parallel_fix

Fix build parallelization
cl-test
Alex Crichton 7 years ago
committed by GitHub
parent
commit
946c741c3f
  1. 3
      src/lib.rs

3
src/lib.rs

@ -823,7 +823,8 @@ impl Build {
objs.par_iter().with_max_len(1).for_each(
|&(ref src, ref dst)| {
results.lock().unwrap().push(self.compile_object(src, dst))
let res = self.compile_object(src, dst);
results.lock().unwrap().push(res)
},
);

Loading…
Cancel
Save