rustc needs *even more* megabytes when run without optimizations
impl Drop for Task {
fn drop(&self) {
rtdebug!("called drop for a task: %u", borrow::to_uint(self));
- assert!(self.destroyed)
+ rtassert!(self.destroyed)
}
}
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);