diff options
Diffstat (limited to 'src/rt/rust_builtin.cpp')
| -rw-r--r-- | src/rt/rust_builtin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rt/rust_builtin.cpp b/src/rt/rust_builtin.cpp index 732dbaa3293..aa314d2811e 100644 --- a/src/rt/rust_builtin.cpp +++ b/src/rt/rust_builtin.cpp @@ -930,11 +930,11 @@ task_clear_event_reject(rust_task *task) { // Waits on an event, returning the pointer to the event that unblocked this // task. extern "C" void * -task_wait_event(rust_task *task) { +task_wait_event(rust_task *task, bool *killed) { // TODO: we should assert that the passed in task is the currently running // task. We wouldn't want to wait some other task. - return task->wait_event(); + return task->wait_event(killed); } extern "C" void |
