mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
handle case of a "clean" build without failure
This commit is contained in:
parent
15bcb6328f
commit
2f016c3876
1 changed files with 3 additions and 1 deletions
|
|
@ -12,7 +12,9 @@ fn main() {
|
|||
let svd_filename = "precursor/soc-perf-c809403.svd";
|
||||
|
||||
let last_config = out_dir().join("../../LAST_CONFIG");
|
||||
println!("cargo:rerun-if-changed={}", last_config.canonicalize().unwrap().display());
|
||||
if last_config.exists() {
|
||||
println!("cargo:rerun-if-changed={}", last_config.canonicalize().unwrap().display());
|
||||
}
|
||||
let svd_file_path = std::path::Path::new(&svd_filename);
|
||||
println!("cargo:rerun-if-changed={}", svd_file_path.canonicalize().unwrap().display());
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue