Increase system stack size.

This commit is contained in:
Dmitry Ermolov 2013-08-10 03:37:39 +04:00
parent 74efdf6197
commit 980bcdd381

View File

@ -312,7 +312,7 @@ pub fn monitor(f: ~fn(diagnostic::Emitter)) {
// XXX: This is a hack for newsched since it doesn't support split stacks.
// rustc needs a lot of stack!
static STACK_SIZE: uint = 4000000;
static STACK_SIZE: uint = 6000000;
let (p, ch) = stream();
let ch = SharedChan::new(ch);