mirror of
https://github.com/servo/servo
synced 2026-05-09 00:22:16 +02: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:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user