mirror of
https://github.com/rcore-os/rCore.git
synced 2024-11-26 09:53:28 +04:00
12 lines
331 B
Rust
12 lines
331 B
Rust
fn main() {
|
|
println!("cargo:rerun-if-env-changed=PAYLOAD");
|
|
println!("cargo:rerun-if-env-changed=DTB");
|
|
|
|
if let Ok(payload) = std::env::var("PAYLOAD") {
|
|
println!("cargo:rerun-if-changed={}", payload);
|
|
}
|
|
if let Ok(dtb) = std::env::var("DTB") {
|
|
println!("cargo:rerun-if-changed={}", dtb);
|
|
}
|
|
}
|