diff options
Diffstat (limited to 'src/rt/rust.cpp')
| -rw-r--r-- | src/rt/rust.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rt/rust.cpp b/src/rt/rust.cpp index 166c0002533..c7cece2ef81 100644 --- a/src/rt/rust.cpp +++ b/src/rt/rust.cpp @@ -93,8 +93,7 @@ rust_start(uintptr_t main_fn, int argc, char **argv, void* crate_map) { DLOG(dom, dom, "startup: arg[%d] = '%s'", i, args->argv[i]); } - dom->root_task->start(main_fn, - (uintptr_t)args->args, sizeof(args->args)); + dom->root_task->start(main_fn, (uintptr_t)args->args); int ret = dom->start_main_loop(); delete args; |
