We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f73001a commit fdabb37Copy full SHA for fdabb37
rust/helm-sys/build.rs
@@ -55,7 +55,12 @@ fn main() {
55
56
let bindings = bindgen::builder()
57
.header(build_path.join("libgo-helm-wrapper.h").to_str().unwrap())
58
- .parse_callbacks(Box::new(bindgen::CargoCallbacks::new()))
+ .parse_callbacks(Box::new(
59
+ bindgen::CargoCallbacks::new()
60
+ // libgo-helm-wrapper.h will *always* just have been rebuilt here by the gobuild above
61
+ // (and, conversely, if the gobuild *has* been rebuilt then we'll already be rebuilding the crate anyway)
62
+ .rerun_on_header_files(false),
63
+ ))
64
.generate()
65
.expect("Failed to generate Rust bindings from Go header file");
66
0 commit comments