about summary refs log tree commit diff
path: root/src/rt/rust_kernel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rt/rust_kernel.cpp')
-rw-r--r--src/rt/rust_kernel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rt/rust_kernel.cpp b/src/rt/rust_kernel.cpp
index e041256eaaa..44c6be2421d 100644
--- a/src/rt/rust_kernel.cpp
+++ b/src/rt/rust_kernel.cpp
@@ -22,11 +22,11 @@ rust_kernel::rust_kernel(rust_env *env) :
     sched_reaper(this),
     osmain_driver(NULL),
     non_weak_tasks(0),
+    global_loop_chan(0),
+    global_env_chan(0),
     env(env)
+
 {
-    // set up storage of pointers needed to
-    // access the global loop.
-    global_loop_chan = 0;
 
     // Create the single threaded scheduler that will run on the platform's
     // main thread