mirror of
https://github.com/rust-embedded/rust-raspberrypi-OS-tutorials.git
synced 2024-11-11 07:10:59 +00:00
0a1616d8b2
This should enable incremental compilation monitored by cargo.
8 lines
142 B
Rust
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);
|
|
}
|