mirror of
https://github.com/Polprzewodnikowy/SummerCart64.git
synced 2025-04-24 03:51:22 +02:00
[SC64][SW] Added rerun-if-changed for bootloader dependency (#108)
Changes to the bootloader source were not being noticed by cargo when recompiling sc64deployer. We can use [rerun-if-changed](https://doc.rust-lang.org/cargo/reference/build-scripts.html#rerun-if-changed) to instruct cargo to rerun the `build.rs` script if there were any changes to any file inside `bootloader/src/` (recursively).
This commit is contained in:
parent
d8c4f979cc
commit
b520f9ace8
@ -1,4 +1,6 @@
|
||||
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
println!("cargo::rerun-if-changed=../bootloader/src/");
|
||||
|
||||
let out_dir = std::path::PathBuf::from(std::env::var("OUT_DIR").unwrap());
|
||||
|
||||
cc::Build::new()
|
||||
|
Loading…
x
Reference in New Issue
Block a user