mirror of
https://github.com/servo/servo.git
synced 2025-08-08 23:15:33 +01:00
Upgrade to rustc 1.41.0-nightly (7afe6d9d1 2019-12-03)
This commit is contained in:
parent
6e3c131139
commit
4cbbb625d0
3 changed files with 13 additions and 4 deletions
|
@ -1,8 +1,16 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
# 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 "$@"
|
||||
|
||||
if [[ "$*" == *--document-private-items* ]]
|
||||
then
|
||||
ARGS=""
|
||||
else
|
||||
ARGS="--document-private-items"
|
||||
fi
|
||||
|
||||
rustdoc -Z "unstable-options" --cap-lints warn $ARGS "$@"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue