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