From a493350eb5ab38ba8a6563f3eb4a090d257b0d3a Mon Sep 17 00:00:00 2001 From: Michael Bebenita Date: Fri, 10 Sep 2010 01:21:29 -0700 Subject: Cleanup, refactoring, and some runtime tests. --- src/rt/rust_internal.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/rt/rust_internal.h') diff --git a/src/rt/rust_internal.h b/src/rt/rust_internal.h index 0913f967..d1eec48b 100644 --- a/src/rt/rust_internal.h +++ b/src/rt/rust_internal.h @@ -124,6 +124,8 @@ template struct region_owned { } }; +#include "rust_task_list.h" + // A cond(ition) is something we can block on. This can be a channel // (writing), a port (reading) or a task (waiting). @@ -203,9 +205,7 @@ crate_rel(rust_crate const *crate, T const *t) { typedef void CDECL (*activate_glue_ty)(rust_task *); -class -rust_crate -{ +class rust_crate { // The following fields are emitted by the compiler for the static // rust_crate object inside each compiled crate. @@ -563,6 +563,7 @@ struct gc_alloc { #include "test/rust_test_harness.h" #include "test/rust_test_util.h" +#include "test/rust_test_runtime.h" // // Local Variables: -- cgit v1.2.3