Move linker flags to build script.
This commit is contained in:
8
tests/riscv32/build.rs
Normal file
8
tests/riscv32/build.rs
Normal file
@ -0,0 +1,8 @@
|
||||
use std::error::Error;
|
||||
|
||||
fn main() -> Result<(), Box<dyn Error>> {
|
||||
println!("cargo:rustc-link-arg-bins=-Tmemory.x");
|
||||
println!("cargo:rustc-link-arg-bins=-Tlink.x");
|
||||
|
||||
Ok(())
|
||||
}
|
Reference in New Issue
Block a user