about summary refs log tree commit diff
path: root/src/rt/test/rust_test_runtime.cpp
diff options
context:
space:
mode:
authorEric Holk <eholk@mozilla.com>2011-06-15 18:16:17 -0700
committerEric Holk <eholk@mozilla.com>2011-06-15 18:16:59 -0700
commit67360ae61808453d308496f90e0b3faa3e8efee3 (patch)
tree7df5f198272c57aeebf35e9a22aa03cd12f33e0b /src/rt/test/rust_test_runtime.cpp
parentc4f9bd94700188678893659580f3b7aa80da3b7d (diff)
downloadrust-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/test/rust_test_runtime.cpp')
-rw-r--r--src/rt/test/rust_test_runtime.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rt/test/rust_test_runtime.cpp b/src/rt/test/rust_test_runtime.cpp
index c683302dec2..0fed35dad82 100644
--- a/src/rt/test/rust_test_runtime.cpp
+++ b/src/rt/test/rust_test_runtime.cpp
@@ -52,7 +52,7 @@ rust_task_test::worker::run() {
     rust_handle<rust_dom> *handle =
         kernel->create_domain("test");
     rust_dom *domain = handle->referent();
-    domain->root_task->start((uintptr_t)&task_entry, (uintptr_t)NULL, 0);
+    domain->root_task->start((uintptr_t)&task_entry, (uintptr_t)NULL);
     domain->start_main_loop();
     kernel->destroy_domain(domain);
 }