about summary refs log tree commit diff
path: root/src/rt/test/rust_test_runtime.cpp
diff options
context:
space:
mode:
authorRafael Ávila de Espíndola <respindola@mozilla.com>2011-05-18 15:43:48 -0400
committerRafael Ávila de Espíndola <respindola@mozilla.com>2011-05-18 15:43:48 -0400
commit96516e9ca263574fa58c2f0a48348fa0d876be10 (patch)
treef22492f3345878aee734420f550158ec5c571fa3 /src/rt/test/rust_test_runtime.cpp
parent6a4a85f452ffe028e3be531f718c3545b1dc06ce (diff)
downloadrust-96516e9ca263574fa58c2f0a48348fa0d876be10.tar.gz
rust-96516e9ca263574fa58c2f0a48348fa0d876be10.zip
One exit_task_glue to rule them all.
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 1cde532e94a..717d8b0c5f4 100644
--- a/src/rt/test/rust_test_runtime.cpp
+++ b/src/rt/test/rust_test_runtime.cpp
@@ -53,7 +53,7 @@ rust_task_test::worker::run() {
     rust_handle<rust_dom> *handle =
         kernel->create_domain(crate, "test");
     rust_dom *domain = handle->referent();
-    domain->root_task->start(crate->get_exit_task_glue(),
+    domain->root_task->start((uintptr_t)rust_new_exit_task_glue,
                              (uintptr_t)&task_entry, (uintptr_t)NULL, 0);
     domain->start_main_loop();
     kernel->destroy_domain(domain);