blob: 3af590f814b4b3753f8e50f3c4b2279209293c7e (
plain)
1
2
3
4
5
6
7
8
|
use std::{env, fs, path};
fn main() {
let out_dir = path::PathBuf::from(env::var("OUT_DIR").unwrap());
fs::copy("device.x", out_dir.join("device.x")).unwrap();
fs::copy("device.x", out_dir.join("imxrt1010.x")).unwrap();
println!("cargo::rustc-link-search={}", out_dir.display());
}
|