diff options
| author | Eric Holk <eholk@mozilla.com> | 2011-06-15 18:16:17 -0700 |
|---|---|---|
| committer | Eric Holk <eholk@mozilla.com> | 2011-06-15 18:16:59 -0700 |
| commit | 67360ae61808453d308496f90e0b3faa3e8efee3 (patch) | |
| tree | 7df5f198272c57aeebf35e9a22aa03cd12f33e0b /src/rt/rust.cpp | |
| parent | c4f9bd94700188678893659580f3b7aa80da3b7d (diff) | |
| download | rust-67360ae61808453d308496f90e0b3faa3e8efee3.tar.gz rust-67360ae61808453d308496f90e0b3faa3e8efee3.zip | |
Fixed a problem where spawn arguments were getting lost again. Also, fixed up stack alignment, which closes #496
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; |
