diff options
| author | Rafael Ávila de Espíndola <respindola@mozilla.com> | 2011-05-18 15:43:48 -0400 |
|---|---|---|
| committer | Rafael Ávila de Espíndola <respindola@mozilla.com> | 2011-05-18 15:43:48 -0400 |
| commit | 96516e9ca263574fa58c2f0a48348fa0d876be10 (patch) | |
| tree | f22492f3345878aee734420f550158ec5c571fa3 /src/rt/rust.cpp | |
| parent | 6a4a85f452ffe028e3be531f718c3545b1dc06ce (diff) | |
| download | rust-96516e9ca263574fa58c2f0a48348fa0d876be10.tar.gz rust-96516e9ca263574fa58c2f0a48348fa0d876be10.zip | |
One exit_task_glue to rule them all.
Diffstat (limited to 'src/rt/rust.cpp')
| -rw-r--r-- | src/rt/rust.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rt/rust.cpp b/src/rt/rust.cpp index 0c7ec8d3abe..1e708be0a49 100644 --- a/src/rt/rust.cpp +++ b/src/rt/rust.cpp @@ -99,7 +99,7 @@ rust_start(uintptr_t main_fn, rust_crate const *crate, int argc, } uintptr_t main_args[4] = {0, 0, 0, (uintptr_t)args->args}; - dom->root_task->start(crate->get_exit_task_glue(), + dom->root_task->start((uintptr_t)rust_new_exit_task_glue, main_fn, (uintptr_t)&main_args, sizeof(main_args)); |
