Skip to content

Commit f3ec544

Browse files
committed
Fix CI error
1 parent b05beb5 commit f3ec544

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

stack-reorder-contract/src/main.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ ckb_std::entry!(program_entry);
1212
default_alloc!();
1313

1414
pub fn program_entry() -> i8 {
15-
let mut x: u64;
15+
let mut _x: u64;
1616
unsafe {
1717
core::arch::asm!(
18-
"mv {x}, sp",
19-
x = out(reg) x,
18+
"mv {_x}, sp",
19+
_x = out(reg) _x,
2020
);
2121
}
2222

23-
ckb_std::debug!("Current SP is {:x}", x);
23+
ckb_std::debug!("Current SP is {:x}", _x);
2424

2525
0
2626
}

0 commit comments

Comments
 (0)