diff options
Diffstat (limited to 'src/rt/rust.cpp')
| -rw-r--r-- | src/rt/rust.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rt/rust.cpp b/src/rt/rust.cpp index 4f9cd3bf7fd..2fed06854cb 100644 --- a/src/rt/rust.cpp +++ b/src/rt/rust.cpp @@ -93,7 +93,7 @@ rust_start(uintptr_t main_fn, int argc, char **argv, void* crate_map) { root_task->start((spawn_fn)main_fn, NULL, args->args); root_task = NULL; - int ret = kernel->wait_for_exit(); + int ret = kernel->run(); delete args; delete kernel; |
