mirror of
https://github.com/servo/servo
synced 2026-05-09 08:32:31 +02:00
Use --document-private-items instead of manually specifying passes as this is deprecated. Closes #21179
8 lines
300 B
Bash
Executable File
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 "$@"
|