about summary refs log tree commit diff
path: root/src/rt/rust_sched_loop.cpp
diff options
context:
space:
mode:
authorBen Blum <bblum@andrew.cmu.edu>2012-07-12 02:42:56 -0400
committerBen Blum <bblum@andrew.cmu.edu>2012-07-12 18:08:36 -0400
commit200a2ded3245eb0a1ca7b265ce83adba16d75b97 (patch)
tree9874f527ab85ef32d2d9dc813685a1add5a03a51 /src/rt/rust_sched_loop.cpp
parent343e9de8ef4ee9727f027c896ce99f09611b9603 (diff)
downloadrust-200a2ded3245eb0a1ca7b265ce83adba16d75b97.tar.gz
rust-200a2ded3245eb0a1ca7b265ce83adba16d75b97.zip
Fix linked failure with root taskgroup to kill the runtime too.
Diffstat (limited to 'src/rt/rust_sched_loop.cpp')
-rw-r--r--src/rt/rust_sched_loop.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rt/rust_sched_loop.cpp b/src/rt/rust_sched_loop.cpp
index 4aed9a5e061..54ebccfe8c3 100644
--- a/src/rt/rust_sched_loop.cpp
+++ b/src/rt/rust_sched_loop.cpp
@@ -260,8 +260,8 @@ rust_task *
 rust_sched_loop::create_task(rust_task *spawner, const char *name) {
     rust_task *task =
         new (this->kernel, "rust_task")
-        rust_task (this, task_state_newborn,
-                   spawner, name, kernel->env->min_stack_size);
+        rust_task(this, task_state_newborn,
+                  spawner, name, kernel->env->min_stack_size);
     DLOG(this, task, "created task: " PTR ", spawner: %s, name: %s",
                         task, spawner ? spawner->name : "null", name);