Skip to content

Commit 410cdd7

Browse files
committed
Set the default stack size to 8MB
This was the value used before we originally started raising the stack size to infinity.
1 parent 6c25307 commit 410cdd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_interface/util.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ pub fn create_session(
8383
(Lrc::new(sess), Lrc::new(codegen_backend), source_map)
8484
}
8585

86-
const STACK_SIZE: usize = 2 * 1024 * 1024;
86+
const STACK_SIZE: usize = 8 * 1024 * 1024;
8787

8888
fn get_stack_size() -> Option<usize> {
8989
// FIXME: Hacks on hacks. If the env is trying to override the stack size

0 commit comments

Comments
 (0)