Skip to content

Commit f98f303

Browse files
Update riscv-semihosting/src/lib.rs
Co-authored-by: Taiki Endo <[email protected]>
1 parent 29bc6c5 commit f98f303

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

riscv-semihosting/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ pub unsafe fn syscall1(_nr: usize, _arg: usize) -> usize {
231231
.option pop
232232
",
233233
inout("a0") nr,
234-
inout("a1") arg,
234+
inout("a1") arg => _,
235235
options(nostack, preserves_flags),
236236
);
237237
nr

0 commit comments

Comments
 (0)