diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2012-01-04 20:11:39 -0800 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2012-01-06 22:40:31 -0800 |
| commit | 25e81e34eaaa1953ca301e95314c1ed01e773a9d (patch) | |
| tree | c8da5e9478d874344dc2c836d2c88dd2b1ea045b /src/rt/rust.cpp | |
| parent | 98f5109cde838e66d629bf05c804ad1ca9b06c42 (diff) | |
| download | rust-25e81e34eaaa1953ca301e95314c1ed01e773a9d.tar.gz rust-25e81e34eaaa1953ca301e95314c1ed01e773a9d.zip | |
rewrite task tests
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 a3b30c26e5b..03acdaa91e0 100644 --- a/src/rt/rust.cpp +++ b/src/rt/rust.cpp @@ -98,7 +98,7 @@ rust_start(uintptr_t main_fn, int argc, char **argv, void* crate_map) { DLOG(sched, dom, "startup: arg[%d] = '%s'", i, args->argv[i]); } - root_task->start((spawn_fn)main_fn, (uintptr_t)args->args); + root_task->start((spawn_fn)main_fn, NULL, args->args); root_task->deref(); root_task = NULL; |
