Skip to content

Commit ffaebad

Browse files
committed
Default RUST_MIN_STACK to 16MiB for now
1 parent d1acabe commit ffaebad

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/librustc_driver/lib.rs

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

10591060
struct Sink(Arc<Mutex<Vec<u8>>>);
10601061
impl Write for Sink {

0 commit comments

Comments
 (0)