Skip to content

Commit e962b88

Browse files
nagisabrson
authored andcommitted
Default RUST_MIN_STACK to 16MiB for now
1 parent 04b85d7 commit e962b88

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/librustc_driver/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1049,7 +1049,8 @@ fn parse_crate_attrs<'a>(sess: &'a Session, input: &Input) -> PResult<'a, Vec<as
10491049
/// The diagnostic emitter yielded to the procedure should be used for reporting
10501050
/// errors of the compiler.
10511051
pub fn monitor<F: FnOnce() + Send + 'static>(f: F) {
1052-
const STACK_SIZE: usize = 8 * 1024 * 1024; // 8MB
1052+
// Temporarily have stack size set to 16MB to deal with nom-using crates failing
1053+
const STACK_SIZE: usize = 16 * 1024 * 1024; // 16MB
10531054

10541055
struct Sink(Arc<Mutex<Vec<u8>>>);
10551056
impl Write for Sink {

0 commit comments

Comments
 (0)