2023-05-27 22:03:25 +02:00
|
|
|
use std::error::Error;
|
2021-11-07 23:52:11 +01:00
|
|
|
|
2023-05-27 22:03:25 +02:00
|
|
|
fn main() -> Result<(), Box<dyn Error>> {
|
2021-11-07 23:52:11 +01:00
|
|
|
println!("cargo:rustc-link-arg-bins=--nmagic");
|
|
|
|
println!("cargo:rustc-link-arg-bins=-Tlink.x");
|
2023-05-27 22:03:25 +02:00
|
|
|
println!("cargo:rerun-if-changed=link.x");
|
|
|
|
println!("cargo:rustc-link-arg-bins=-Ttl_mbox.x");
|
2021-11-07 23:52:11 +01:00
|
|
|
println!("cargo:rustc-link-arg-bins=-Tdefmt.x");
|
2023-05-27 22:03:25 +02:00
|
|
|
|
|
|
|
Ok(())
|
2021-06-11 22:58:09 +02:00
|
|
|
}
|