servo/etc/rustdoc-with-private
2019-07-17 10:48:54 +02:00

8 lines
300 B
Bash
Executable file

#!/bin/sh
# Emit documentation for private items so it is easier to look
# up internal definitions.
#
# Deny "deny warnings" to ensure documenting the crates
# succeeds even if new warnings are introduced to the compiler.
rustdoc -Z "unstable-options" --cap-lints warn --document-private-items "$@"