Skip to content

Commit

Permalink
Don't generate msg_includes.h in parallel with bindgen generation.
Browse files Browse the repository at this point in the history
  • Loading branch information
m-dahl committed Jun 26, 2023
1 parent fd8f466 commit f5f41ba
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions r2r_msg_gen/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,10 @@ fn generate_bindings(bindgen_dir: &Path, msg_list: &[RosMsg]) {
// Run codegen in parallel.
rayon::scope(|scope| {
scope.spawn(|_| {
generate_includes(bindgen_dir, msg_list);
let bindings = generate_bindings_file(bindgen_dir);
generate_constants(bindgen_dir, msg_list, &bindings);
});
scope.spawn(|_| {
generate_includes(bindgen_dir, msg_list);
});
scope.spawn(|_| {
generate_introspecion_map(bindgen_dir, msg_list);
});
Expand Down

0 comments on commit f5f41ba

Please sign in to comment.