Skip to content

Commit 2079ace

Browse files
committed
---
yaml --- r: 161770 b: refs/heads/master c: 5d19432 h: refs/heads/master v: v3
1 parent 4222f91 commit 2079ace

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 61edb0ccb791934fa86000a9e59a23a9fc1f983c
2+
refs/heads/master: 5d19432679b1047dc00d1fd110d630c4de1dbcfc
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cafe2966770ff377aad6dd9fd808e68055587c58
55
refs/heads/try: 0f0d21c1eb5c7be04d323e0b06faf252ad790af6

trunk/src/librustc_driver/lib.rs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -470,13 +470,7 @@ pub fn list_metadata(sess: &Session, path: &Path,
470470
/// The diagnostic emitter yielded to the procedure should be used for reporting
471471
/// errors of the compiler.
472472
pub fn monitor(f: proc():Send) {
473-
// FIXME: This is a hack for newsched since it doesn't support split stacks.
474-
// rustc needs a lot of stack! When optimizations are disabled, it needs
475-
// even *more* stack than usual as well.
476-
#[cfg(rtopt)]
477-
static STACK_SIZE: uint = 6000000; // 6MB
478-
#[cfg(not(rtopt))]
479-
static STACK_SIZE: uint = 20000000; // 20MB
473+
static STACK_SIZE: uint = 32000000; // 32MB
480474

481475
let (tx, rx) = channel();
482476
let w = io::ChanWriter::new(tx);

0 commit comments

Comments
 (0)