Merge #682
682: Convert chip name to upper case to fix rebuilds r=Dirbaio a=DCNick3 PR #665 made stm32-metapac rebuild when the chip definition was changed. Though it used the lowercase version of the chip name as a filename which probably worked fine on windows with its case-independent filesystem, but was causing constant rebuilds on linux Co-authored-by: Nikita Strygin <nikita6@bk.ru>
This commit is contained in:
commit
1a31cda3c3
@ -69,7 +69,7 @@ fn main() {
|
|||||||
println!(
|
println!(
|
||||||
"cargo:rerun-if-changed={}/chips/{}.json",
|
"cargo:rerun-if-changed={}/chips/{}.json",
|
||||||
data_dir.display(),
|
data_dir.display(),
|
||||||
chip_name
|
chip_name.to_uppercase()
|
||||||
);
|
);
|
||||||
|
|
||||||
println!("cargo:rerun-if-changed={}/registers", data_dir.display());
|
println!("cargo:rerun-if-changed={}/registers", data_dir.display());
|
||||||
|
Loading…
Reference in New Issue
Block a user