about summary refs log tree commit diff
path: root/src/libstd/rt/task.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-01-09 20:21:17 -0800
committerbors <bors@rust-lang.org>2014-01-09 20:21:17 -0800
commitf78293c274be2a23889f20942d75e9e45352a336 (patch)
tree3d2f7a36b53f2f5db5719901fb0e6b382814a613 /src/libstd/rt/task.rs
parent28ddc6537fcec5eb6033c78709b288abf72e8ae7 (diff)
parent65ce505819b0f2e06ed39802d293bff182aedc16 (diff)
downloadrust-f78293c274be2a23889f20942d75e9e45352a336.tar.gz
rust-f78293c274be2a23889f20942d75e9e45352a336.zip
auto merge of #11360 : huonw/rust/stack_bounds, r=alexcrichton
We just approximate with a 2MB stack for native::start.
Diffstat (limited to 'src/libstd/rt/task.rs')
-rw-r--r--src/libstd/rt/task.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/rt/task.rs b/src/libstd/rt/task.rs
index 6c94f237789..b4ead4252ca 100644
--- a/src/libstd/rt/task.rs
+++ b/src/libstd/rt/task.rs
@@ -289,7 +289,7 @@ impl Task {
     /// Returns the stack bounds for this task in (lo, hi) format. The stack
     /// bounds may not be known for all tasks, so the return value may be
     /// `None`.
-    pub fn stack_bounds(&self) -> Option<(uint, uint)> {
+    pub fn stack_bounds(&self) -> (uint, uint) {
         self.imp.get_ref().stack_bounds()
     }
 }