Skip to content

Commit 968f442

Browse files
nagisamati865
authored andcommitted
Set the default stack size to 8MB
This was the value used before we originally started raising the stack size to infinity.
1 parent 96c5012 commit 968f442

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
@@ -80,7 +80,7 @@ pub fn create_session(
8080
(Lrc::new(sess), Lrc::new(codegen_backend), source_map)
8181
}
8282

83-
const STACK_SIZE: usize = 2 * 1024 * 1024;
83+
const STACK_SIZE: usize = 8 * 1024 * 1024;
8484

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

0 commit comments

Comments
 (0)