rust-raspberrypi-OS-tutorials/06_drivers_gpio_uart/build.rs
Andre Richter 0a1616d8b2
Let cargo track changed files
This should enable incremental compilation monitored by cargo.
2020-04-14 23:16:35 +02:00

8 lines
142 B
Rust

use std::env;
fn main() {
let linker_file = env::var("LINKER_FILE").unwrap();
println!("cargo:rerun-if-changed={}", linker_file);
}