Skip to content
Snippets Groups Projects
Commit 9b5b4312 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "floss: Rerun topshim bindgen if underlying C++ code changes"

parents 16f0645d f9aef699
No related branches found
No related tags found
No related merge requests found
......@@ -29,6 +29,11 @@ fn main() {
let bt_searches =
paths.iter().map(|tail| format!("-I{}{}", search_root, tail)).collect::<Vec<String>>();
// Also re-run the build if anything in the C++ build changes
for path in bt_searches.iter() {
println!("cargo:rerun-if-changed={}", path);
}
// "-x" and "c++" must be separate due to a bug
let clang_args: Vec<&str> = vec!["-x", "c++", "-std=c++17"];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment