diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2012-05-14 08:22:51 -0700 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2012-05-15 11:49:08 -0700 |
| commit | be48cd87dcdaaf224a7f4338d7ab450119d1b00e (patch) | |
| tree | 484450122090e0c4ce500b37644c5d13dbdfc096 /src/rt/rust_task.cpp | |
| parent | 17d6b09d14c916497a6679363308cb7822c4aafe (diff) | |
| download | rust-be48cd87dcdaaf224a7f4338d7ab450119d1b00e.tar.gz rust-be48cd87dcdaaf224a7f4338d7ab450119d1b00e.zip | |
make poison-on-free work, disable copying if borrowck is enabled
Diffstat (limited to 'src/rt/rust_task.cpp')
| -rw-r--r-- | src/rt/rust_task.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rt/rust_task.cpp b/src/rt/rust_task.cpp index 20727dbcbfd..d7c62780fbb 100644 --- a/src/rt/rust_task.cpp +++ b/src/rt/rust_task.cpp @@ -27,7 +27,7 @@ rust_task::rust_task(rust_sched_loop *sched_loop, rust_task_state state, list_index(-1), rendezvous_ptr(0), local_region(&sched_loop->local_region), - boxed(&local_region), + boxed(sched_loop->kernel->env, &local_region), unwinding(false), propagate_failure(true), cc_counter(0), |
