Skip to content
Snippets Groups Projects
Commit 41efbf48 authored by Federico Lolli's avatar Federico Lolli
Browse files

Updated build.rs to avoid rerunning every time

emit_cargo_build_message was wrongly adding generated files to the rerun directive, replaced with custom println
parent cdcfaadd
No related branches found
No related tags found
1 merge request!23Draft: Rust implementation
......@@ -9,5 +9,5 @@ pub fn main() {
.expect("Failed to generate Rust MAVLink bindings");
mavlink_bindgen::format_generated_code(&result);
mavlink_bindgen::emit_cargo_build_messages(&result);
println!("cargo:rerun-if-changed=message_definitions")
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment