diff options
| author | varkor <github@varkor.com> | 2018-04-10 23:55:41 +0100 |
|---|---|---|
| committer | varkor <github@varkor.com> | 2018-04-11 11:05:13 +0100 |
| commit | 7ab31f6556c2cce433695b113f53d6275edd724d (patch) | |
| tree | 80f61c1d771a22701a2fe3791541ff0372f58125 /src/librustdoc/lib.rs | |
| parent | 4b9b70c394e7f341b4016fce4cbf763d404b26f9 (diff) | |
| download | rust-7ab31f6556c2cce433695b113f53d6275edd724d.tar.gz rust-7ab31f6556c2cce433695b113f53d6275edd724d.zip | |
Prevent EPIPE causing ICEs in rustc and rustdoc
Diffstat (limited to 'src/librustdoc/lib.rs')
| -rw-r--r-- | src/librustdoc/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustdoc/lib.rs b/src/librustdoc/lib.rs index 42e87f88fd4..1e51f45f149 100644 --- a/src/librustdoc/lib.rs +++ b/src/librustdoc/lib.rs @@ -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 || { |
