We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75734a9 commit f0f7e1bCopy full SHA for f0f7e1b
src/libstd/rt/task.rs
@@ -303,7 +303,7 @@ impl Task {
303
impl Drop for Task {
304
fn drop(&self) {
305
rtdebug!("called drop for a task: %u", borrow::to_uint(self));
306
- assert!(self.destroyed)
+ rtassert!(self.destroyed)
307
}
308
309
@@ -313,7 +313,7 @@ impl Drop for Task {
313
impl Coroutine {
314
315
pub fn new(stack_pool: &mut StackPool, start: ~fn()) -> Coroutine {
316
- static MIN_STACK_SIZE: uint = 2000000; // XXX: Too much stack
+ static MIN_STACK_SIZE: uint = 3000000; // XXX: Too much stack
317
318
let start = Coroutine::build_start_wrapper(start);
319
let mut stack = stack_pool.take_segment(MIN_STACK_SIZE);
0 commit comments