about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2013-08-03 23:28:47 -0700
committerBrian Anderson <banderson@mozilla.com>2013-08-04 15:11:56 -0700
commitf0f7e1b3fcfed8b77516a871ae82a4aa8df07764 (patch)
tree3536dae1f7e35bd10e674914a5818900e3e231e1 /src/libstd
parent75734a9cd355a7d122bc60dd059a825cf9616c7d (diff)
downloadrust-f0f7e1b3fcfed8b77516a871ae82a4aa8df07764.tar.gz
rust-f0f7e1b3fcfed8b77516a871ae82a4aa8df07764.zip
std::rt: 3MB stacks!
rustc needs *even more* megabytes when run without optimizations
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/rt/task.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/rt/task.rs b/src/libstd/rt/task.rs
index abafe1cf209..ffe9f118b47 100644
--- a/src/libstd/rt/task.rs
+++ b/src/libstd/rt/task.rs
@@ -303,7 +303,7 @@ impl Task {
 impl Drop for Task {
     fn drop(&self) {
         rtdebug!("called drop for a task: %u", borrow::to_uint(self));
-        assert!(self.destroyed)
+        rtassert!(self.destroyed)
     }
 }
 
@@ -313,7 +313,7 @@ impl Drop for Task {
 impl Coroutine {
 
     pub fn new(stack_pool: &mut StackPool, start: ~fn()) -> Coroutine {
-        static MIN_STACK_SIZE: uint = 2000000; // XXX: Too much stack
+        static MIN_STACK_SIZE: uint = 3000000; // XXX: Too much stack
 
         let start = Coroutine::build_start_wrapper(start);
         let mut stack = stack_pool.take_segment(MIN_STACK_SIZE);