rust-raspberrypi-OS-tutorials/04_safe_globals/build.rs

9 lines
191 B
Rust
Raw Normal View History

use std::env;
fn main() {
let linker_file = env::var("LINKER_FILE").unwrap();
println!("cargo:rerun-if-changed={}", linker_file);
2021-03-12 22:44:10 +00:00
println!("cargo:rerun-if-changed=build.rs");
}