Callbacks
- rerun-if-env-changed for used env variables
SOURCE_DATE_EPOCH
- rerun-if-changed for included header files
wrapper.h
Examples
extern crate bindgen;
bindgen::builder()
.header("wrapper.h")
.parse_callbacks(Box::new(bindgen::CargoCallbacks::new()));
cargo:rerun-if-env-changed=TARGET
cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS
cargo:rerun-if-changed=wrapper.h