Skip to content

Commit

Permalink
Avoid race condition
Browse files Browse the repository at this point in the history
There seems to be some race-condition in build.rs
that causes random build results to be produced for `/usr/bin/difft`.

The change seems to have negligible influence on overall build time.
  • Loading branch information
bmwiedemann committed Feb 10, 2025
1 parent 59034da commit 3089d99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ fn main() {
println!("cargo:rerun-if-changed={}", parser.src_dir);
}

parsers.par_iter().for_each(|p| p.build());
parsers.iter().for_each(|p| p.build());
commit_info();

if let Some((version, _, _)) = rustc::triple() {
Expand Down

0 comments on commit 3089d99

Please sign in to comment.