Delete the archive file each time we run the build

This commit is contained in:
Gwilym Kuiper 2022-06-17 00:28:10 +01:00
parent c5af151d76
commit 149d2ec76b

View file

@ -50,6 +50,7 @@ fn main() {
}
let archive = format!("{out_dir}/agb.a");
let _ = std::fs::remove_file(&archive);
let ar_out = std::process::Command::new("arm-none-eabi-ar")
.arg("-crs")
.arg(&archive)