You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: invalid register `r9`: r9 is used internally by LLVM and cannot be used as an operand for inline asm
--> C:\Users\anon\.cargo\git\checkouts\gba-4ba04b9d61fb788f\127f31e\src\sync\statics.rs:106:72
|
106 | out("r2") _, out("r3") _, out("r4") _, out("r5") _, out("r8") _, out("r9") _,
| ^^^^^^^^^^^
error: invalid register `r9`: r9 is used internally by LLVM and cannot be used as an operand for inline asm
--> C:\Users\anon\.cargo\git\checkouts\gba-4ba04b9d61fb788f\127f31e\src\sync\statics.rs:113:72
|
113 | out("r2") _, out("r3") _, out("r4") _, out("r5") _, out("r8") _, out("r9") _,
| ^^^^^^^^^^^
error: invalid register `r9`: r9 is used internally by LLVM and cannot be used as an operand for inline asm
--> C:\Users\anon\.cargo\git\checkouts\gba-4ba04b9d61fb788f\127f31e\src\sync\statics.rs:121:72
|
121 | out("r2") _, out("r3") _, out("r4") _, out("r5") _, out("r8") _, out("r9") _,
| ^^^^^^^^^^^
error: invalid register `r9`: r9 is used internally by LLVM and cannot be used as an operand for inline asm
--> C:\Users\anon\.cargo\git\checkouts\gba-4ba04b9d61fb788f\127f31e\src\sync\statics.rs:129:72
|
129 | out("r2") _, out("r3") _, out("r4") _, out("r5") _, out("r8") _, out("r9") _,
| ^^^^^^^^^^^
error: aborting due to 4 previous errors
error: could not compile `gba`
This seems to be a bug in the asm! macro as this code used to compile just fine.
When trying to compile the
gba
crate(gba = { git = "https://github.com/rust-console/gba", rev = "127f31e" }
) using the following target:I get this compiler error:
This seems to be a bug in the
asm!
macro as this code used to compile just fine.I'm using the latest nightly rustc release:
The same thing also happens when using the gnu toolchain:
The text was updated successfully, but these errors were encountered: