aboutsummaryrefslogtreecommitdiffstats
path: root/etc/rustdoc-with-private
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rustdoc-with-private')
-rwxr-xr-xetc/rustdoc-with-private4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/rustdoc-with-private b/etc/rustdoc-with-private
new file mode 100755
index 00000000000..770469ac064
--- /dev/null
+++ b/etc/rustdoc-with-private
@@ -0,0 +1,4 @@
+#!/bin/sh
+# Skip the strip-private and strip-hidden rustdoc passes
+# https://github.com/rust-lang/rust/issues/15347
+rustdoc --no-defaults --passes "collapse-docs unindent-comments" "$@"