Nothing to see here, move along meow
0

Configure Feed

Select the types of activity you want to include in your feed.

at main 431 B View raw
1fn main() { 2 let target = std::env::var("TARGET").unwrap_or_default(); 3 if target.contains("none") { 4 let manifest_dir = std::env::var("CARGO_MANIFEST_DIR").unwrap(); 5 let linker_script = format!("{manifest_dir}/linker-x86_64.ld"); 6 println!("cargo:rustc-link-arg=-T{linker_script}"); 7 println!("cargo:rerun-if-changed={linker_script}"); 8 } 9 println!("cargo:rerun-if-env-changed=TARGET"); 10}