mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-24 00:31:34 +11:00
set cpu targets for asm and rust
This commit is contained in:
parent
25b60010f8
commit
c722c99f9e
|
@ -6,5 +6,5 @@ build-std-features = ["compiler-builtins-mem"]
|
|||
target = "thumbv4t-none-eabi"
|
||||
|
||||
[target.thumbv4t-none-eabi]
|
||||
rustflags = ["-Clink-arg=-Tgba.ld"]
|
||||
rustflags = ["-Clink-arg=-Tgba.ld", "-Ctarget-cpu=arm7tdmi"]
|
||||
runner = "mgba-test-runner"
|
||||
|
|
|
@ -11,7 +11,7 @@ fn main() {
|
|||
|
||||
let out = std::process::Command::new("arm-none-eabi-as")
|
||||
.arg("-mthumb-interwork")
|
||||
.arg("-mthumb")
|
||||
.arg("-mcpu=arm7tdmi")
|
||||
.arg("-g")
|
||||
.args(&["-o", out_file_path.as_str()])
|
||||
.arg("crt0.s")
|
||||
|
|
Loading…
Reference in a new issue