diff options
| author | Simonas Kazlauskas <git@kazlauskas.me> | 2020-02-23 22:23:45 +0200 |
|---|---|---|
| committer | Mateusz MikuĊa <mati865@gmail.com> | 2020-05-02 16:38:01 +0200 |
| commit | 968f442c7ce591e9cb03b57bb0dac30df4909b50 (patch) | |
| tree | f39e5bbdb8a7054e0cb7f32f59519417969f5282 | |
| parent | 96c5012b57c4688a8a0a076302706bb6a1e95588 (diff) | |
| download | rust-968f442c7ce591e9cb03b57bb0dac30df4909b50.tar.gz rust-968f442c7ce591e9cb03b57bb0dac30df4909b50.zip | |
Set the default stack size to 8MB
This was the value used before we originally started raising the stack size to infinity.
| -rw-r--r-- | src/librustc_interface/util.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_interface/util.rs b/src/librustc_interface/util.rs index 01d92f3d869..ecc336337f8 100644 --- a/src/librustc_interface/util.rs +++ b/src/librustc_interface/util.rs @@ -80,7 +80,7 @@ pub fn create_session( (Lrc::new(sess), Lrc::new(codegen_backend), source_map) } -const STACK_SIZE: usize = 2 * 1024 * 1024; +const STACK_SIZE: usize = 8 * 1024 * 1024; fn get_stack_size() -> Option<usize> { // FIXME: Hacks on hacks. If the env is trying to override the stack size |
