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