blob: c4814625041c2cf0d5e58b40c88ee122329ca619 (
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("imxrt1160.x")).unwrap();
println!("cargo::rustc-link-search={}", out_dir.display());
}
|