mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-11 17:41:33 +11:00
Merge pull request #224 from gwilymk/print-warnings-for-assembler
Print warnings for assembler
This commit is contained in:
commit
06f701af75
|
@ -25,5 +25,11 @@ fn main() {
|
|||
String::from_utf8_lossy(&out.stderr)
|
||||
);
|
||||
|
||||
for warning_line in String::from_utf8_lossy(&out.stderr).split('\n') {
|
||||
if !warning_line.is_empty() {
|
||||
println!("cargo:warning={}", warning_line);
|
||||
}
|
||||
}
|
||||
|
||||
println!("cargo:rustc-link-search={}", out_dir);
|
||||
}
|
||||
|
|
|
@ -26,10 +26,10 @@ InterruptHandler:
|
|||
|
||||
@ call the rust interrupt handler with r0 set to the triggered interrupts
|
||||
ldr r1, =__RUST_INTERRUPT_HANDLER
|
||||
push {lr, r2}
|
||||
push {r2, lr}
|
||||
mov lr, pc
|
||||
bx r1
|
||||
pop {lr, r2}
|
||||
pop {r2, lr}
|
||||
|
||||
@ change back to interrupt mode
|
||||
mrs r1, cpsr
|
||||
|
|
Loading…
Reference in a new issue