Open bartlomieju opened 1 month ago
This code should not compile:
#[op2(fast)] #[smi] fn op_get_exit_code(state: &mut OpState) { state.borrow_mut::<ExitCode>().get(); }
Notice that we annotate with #[smi] for return type, but we are returning ().
#[smi]
()
This code should not compile:
Notice that we annotate with
#[smi]
for return type, but we are returning()
.