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
The following is the error message when building with cg_gcc.
libgccjit.so: error: unknown register name 'r15b' in 'asm'
libgccjit.so: error: unknown register name 'r14b' in 'asm'
libgccjit.so: error: unknown register name 'r13b' in 'asm'
libgccjit.so: error: unknown register name 'r12b' in 'asm'
libgccjit.so: error: unknown register name 'r11b' in 'asm'
libgccjit.so: error: unknown register name 'r10b' in 'asm'
libgccjit.so: error: unknown register name 'r9b' in 'asm'
libgccjit.so: error: unknown register name 'r8b' in 'asm'
error: could not copy "/app/output.example.fb61ce7e3f5ff483-cgu.0.rcgu.s" to "/app/output.s": No such file or directory (os error 2)
rust-lang/rustc_codegen_gcc#485
```
libgccjit.so: error: invalid register name for 'output_register'
error: could not copy "/app/output.example.fb61ce7e3f5ff483-cgu.0.rcgu.s" to "/app/output.s": No such file or directory (os error 2)
```
The following code passes build with cg_llvm, but fails with cg_gcc.
The following is the error message when building with cg_gcc.
playground
I could reproduce this with both playground and the latest master branch (75f0ab5).
Reference: https://doc.rust-lang.org/nightly/reference/inline-assembly.html#register-operands
The text was updated successfully, but these errors were encountered: