Prevent EPIPE causing ICEs in rustc and rustdoc
This commit is contained in:
@@ -101,6 +101,7 @@ struct Output {
|
||||
|
||||
pub fn main() {
|
||||
const STACK_SIZE: usize = 32_000_000; // 32MB
|
||||
rustc_driver::set_sigpipe_handler();
|
||||
env_logger::init();
|
||||
let res = std::thread::Builder::new().stack_size(STACK_SIZE).spawn(move || {
|
||||
syntax::with_globals(move || {
|
||||
|
||||
Reference in New Issue
Block a user