summaryrefslogtreecommitdiffstats
path: root/src/tools/rustdoc
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/rustdoc')
-rw-r--r--src/tools/rustdoc/main.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/rustdoc/main.rs b/src/tools/rustdoc/main.rs
index 5b499a1fa..b81f46d12 100644
--- a/src/tools/rustdoc/main.rs
+++ b/src/tools/rustdoc/main.rs
@@ -1,3 +1,6 @@
+#![feature(unix_sigpipe)]
+
+#[unix_sigpipe = "sig_dfl"]
fn main() {
rustdoc::main()
}