Skip to content

Commit

Permalink
Use rustdoc --document-private-item instead of deprecated flags
Browse files Browse the repository at this point in the history
… and use $RUSTDOCFLAGS instead of $RUSTDOC with a wrapper script
  • Loading branch information
SimonSapin committed Nov 22, 2017
1 parent 3a08f87 commit d96f0ff
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions etc/rustdoc-with-private

This file was deleted.

2 changes: 1 addition & 1 deletion python/servo/command_base.py
Expand Up @@ -486,7 +486,7 @@ def package_dir(package):
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"]
Expand Down

0 comments on commit d96f0ff

Please sign in to comment.