about summary refs log tree commit diff
path: root/src/libcore/task
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2013-05-06 19:29:04 -0700
committerPatrick Walton <pcwalton@mimiga.net>2013-05-08 17:04:00 -0700
commit278b487cabcbe52b301a8023cd1362045b1a7132 (patch)
treed72884e73791fcb1dc015db22e92569764ebae6f /src/libcore/task
parentdb4573a7760bd2014b2eca2537b6af15a9803e3d (diff)
downloadrust-278b487cabcbe52b301a8023cd1362045b1a7132.tar.gz
rust-278b487cabcbe52b301a8023cd1362045b1a7132.zip
test: Fix tests and the pipe compiler
Diffstat (limited to 'src/libcore/task')
-rw-r--r--src/libcore/task/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcore/task/mod.rs b/src/libcore/task/mod.rs
index 24889800175..ce1969a14a1 100644
--- a/src/libcore/task/mod.rs
+++ b/src/libcore/task/mod.rs
@@ -230,12 +230,14 @@ pub impl TaskBuilder {
     /// the child.
     fn supervised(&mut self) {
         self.opts.supervised = true;
+        self.opts.linked = false;
     }
 
     /// Link the child task's and parent task's failures. If either fails, the
     /// other will be killed.
     fn linked(&mut self) {
         self.opts.linked = true;
+        self.opts.supervised = false;
     }
 
     /**