about summary refs log tree commit diff
path: root/src/rt/rust_kernel.cpp
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2013-01-12 23:27:46 -0800
committerBrian Anderson <banderson@mozilla.com>2013-01-17 19:24:50 -0800
commitdb1abbec4ca9f18a224441c483cf23bb4f8361fd (patch)
tree2adeac14bbca31e2bf09708ea1f36b6a39e65953 /src/rt/rust_kernel.cpp
parentac435af73a0009daf22164ee2f081a7c98ca844c (diff)
downloadrust-db1abbec4ca9f18a224441c483cf23bb4f8361fd.tar.gz
rust-db1abbec4ca9f18a224441c483cf23bb4f8361fd.zip
core: Add private global data interface. #3915
Diffstat (limited to 'src/rt/rust_kernel.cpp')
-rw-r--r--src/rt/rust_kernel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rt/rust_kernel.cpp b/src/rt/rust_kernel.cpp
index 3042b006a92..9c6ba9dcda3 100644
--- a/src/rt/rust_kernel.cpp
+++ b/src/rt/rust_kernel.cpp
@@ -38,8 +38,8 @@ rust_kernel::rust_kernel(rust_env *env) :
     global_env_chan(0),
     at_exit_runner(NULL),
     at_exit_started(false),
-    env(env)
-
+    env(env),
+    global_data(0)
 {
     // Create the single threaded scheduler that will run on the platform's
     // main thread