Skip to content

Commit 267f94e

Browse files
committed
Added some bare-bones support for explict registers in ARM inline assembly
1 parent 22ca124 commit 267f94e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/asm.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,8 @@ fn explicit_reg_to_gcc(reg: InlineAsmReg) -> &'static str {
641641
},
642642
}
643643
}
644-
644+
InlineAsmReg::Arm(reg) => reg.name(),
645+
InlineAsmReg::AArch64(reg) => reg.name(),
645646
_ => unimplemented!(),
646647
}
647648
}

0 commit comments

Comments
 (0)