From 67360ae61808453d308496f90e0b3faa3e8efee3 Mon Sep 17 00:00:00 2001 From: Eric Holk Date: Wed, 15 Jun 2011 18:16:17 -0700 Subject: Fixed a problem where spawn arguments were getting lost again. Also, fixed up stack alignment, which closes #496 --- src/rt/rust.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/rt/rust.cpp') 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; -- cgit 1.4.1-3-g733a5