diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2012-01-06 12:06:35 -0800 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2012-01-06 22:40:31 -0800 |
| commit | 8506241f3a0dce3f0d24764a3ce3d16f99bcb809 (patch) | |
| tree | 70d453fea82f951f06184de75d45f2ada8536e4b /src/rt/rust_builtin.cpp | |
| parent | 8e89df69de47a4f944f5c3fc249a88c5934864b2 (diff) | |
| download | rust-8506241f3a0dce3f0d24764a3ce3d16f99bcb809.tar.gz rust-8506241f3a0dce3f0d24764a3ce3d16f99bcb809.zip | |
fix how we walk functions to match new closure fmt
Diffstat (limited to 'src/rt/rust_builtin.cpp')
| -rw-r--r-- | src/rt/rust_builtin.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/rt/rust_builtin.cpp b/src/rt/rust_builtin.cpp index 4f951a7faf0..264e6fdb325 100644 --- a/src/rt/rust_builtin.cpp +++ b/src/rt/rust_builtin.cpp @@ -3,6 +3,7 @@ #include "rust_internal.h" #include "rust_scheduler.h" #include "rust_task.h" +#include "rust_util.h" #if !defined(__WIN32__) #include <sys/time.h> @@ -420,11 +421,6 @@ rust_get_task() { return rust_scheduler::get_task(); } -struct fn_env_pair { - spawn_fn f; - rust_boxed_closure *env; -}; - extern "C" CDECL void start_task(rust_task_id id, fn_env_pair *f) { rust_task *task = rust_scheduler::get_task(); |
