665: Rebuild when the chip's JSON changes r=Dirbaio a=nviennot



Co-authored-by: Nicolas Viennot <nicolas@viennot.biz>
This commit is contained in:
bors[bot] 2022-03-15 19:39:01 +00:00 committed by GitHub
commit a61f68144a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -60,4 +60,13 @@ fn main() {
);
println!("cargo:rerun-if-changed=build.rs");
// When the stm32-data chip's JSON changes, we must rebuild
println!(
"cargo:rerun-if-changed={}/chips/{}.json",
data_dir.display(),
chip_name
);
println!("cargo:rerun-if-changed={}/registers", data_dir.display());
}