Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -778,8 +778,10 @@ mod async_ {
.unwrap()
} else {
let code = code & 0xF;
if let RETURN_CODE_COMPLETED | RETURN_CODE_DROPPED = code {
unsafe { ty.lift(&mut call, buffer) }
match code {
RETURN_CODE_COMPLETED => unsafe { ty.lift(&mut call, buffer) },
RETURN_CODE_DROPPED => unreachable!(),
_ => todo!("handle cancellation"),
}
OK_CONSTRUCTOR
.get()
Expand Down