mirror of
https://github.com/italicsjenga/agb.git
synced 2025-02-04 13:36:36 +11:00
Delete the archive file each time we run the build
This commit is contained in:
parent
c5af151d76
commit
149d2ec76b
1 changed files with 1 additions and 0 deletions
|
@ -50,6 +50,7 @@ fn main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
let archive = format!("{out_dir}/agb.a");
|
let archive = format!("{out_dir}/agb.a");
|
||||||
|
let _ = std::fs::remove_file(&archive);
|
||||||
let ar_out = std::process::Command::new("arm-none-eabi-ar")
|
let ar_out = std::process::Command::new("arm-none-eabi-ar")
|
||||||
.arg("-crs")
|
.arg("-crs")
|
||||||
.arg(&archive)
|
.arg(&archive)
|
||||||
|
|
Loading…
Add table
Reference in a new issue