diff options
| author | Simonas Kazlauskas <git@kazlauskas.me> | 2016-09-15 23:40:48 +0300 |
|---|---|---|
| committer | Simonas Kazlauskas <git@kazlauskas.me> | 2016-09-15 23:40:48 +0300 |
| commit | ffaebadc990579c8813b3c21b5cd05c6bfdc595a (patch) | |
| tree | 68b616177b30eddd9d92dcce0aaf70a739f12524 | |
| parent | d1acabeaa204db9235d9e72c5bae4cfaa82da763 (diff) | |
| download | rust-ffaebadc990579c8813b3c21b5cd05c6bfdc595a.tar.gz rust-ffaebadc990579c8813b3c21b5cd05c6bfdc595a.zip | |
Default RUST_MIN_STACK to 16MiB for now
| -rw-r--r-- | src/librustc_driver/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/librustc_driver/lib.rs b/src/librustc_driver/lib.rs index fbd48fc42c9..a18a754b184 100644 --- a/src/librustc_driver/lib.rs +++ b/src/librustc_driver/lib.rs @@ -1054,7 +1054,8 @@ fn parse_crate_attrs<'a>(sess: &'a Session, input: &Input) -> PResult<'a, Vec<as /// The diagnostic emitter yielded to the procedure should be used for reporting /// errors of the compiler. pub fn monitor<F: FnOnce() + Send + 'static>(f: F) { - const STACK_SIZE: usize = 8 * 1024 * 1024; // 8MB + // Temporarily have stack size set to 16MB to deal with nom-using crates failing + const STACK_SIZE: usize = 16 * 1024 * 1024; // 16MB struct Sink(Arc<Mutex<Vec<u8>>>); impl Write for Sink { |
