Prevent EPIPE causing ICEs in rustc and rustdoc

This commit is contained in:
varkor
2018-04-10 23:55:41 +01:00
parent 4b9b70c394
commit 7ab31f6556
4 changed files with 19 additions and 3 deletions

View File

@@ -22,4 +22,7 @@ extern {}
extern crate rustc_driver;
fn main() { rustc_driver::main() }
fn main() {
rustc_driver::set_sigpipe_handler();
rustc_driver::main()
}