mirror of
https://github.com/servo/servo.git
synced 2025-06-30 03:53:37 +01:00
Use rustdoc --document-private-item instead of deprecated flags
… and use $RUSTDOCFLAGS instead of $RUSTDOC with a wrapper script
This commit is contained in:
parent
3a08f87ec8
commit
d96f0ff6a7
2 changed files with 1 additions and 5 deletions
|
@ -486,7 +486,7 @@ class CommandBase(object):
|
|||
if hosts_file_path:
|
||||
env['HOST_FILE'] = hosts_file_path
|
||||
|
||||
env['RUSTDOC'] = path.join(self.context.topdir, 'etc', 'rustdoc-with-private')
|
||||
env['RUSTDOCFLAGS'] = "--document-private-items"
|
||||
|
||||
if self.config["build"]["rustflags"]:
|
||||
env['RUSTFLAGS'] = env.get('RUSTFLAGS', "") + " " + self.config["build"]["rustflags"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue