diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2017-11-22 15:32:40 +0100 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2017-11-22 15:32:40 +0100 |
commit | d96f0ff6a77e309682898cc7e1905a7bd0feb3cf (patch) | |
tree | 9a16bee7fb9b2b02c7afdfcbf79699462a02fee9 /python/servo/command_base.py | |
parent | 3a08f87ec89456900da4cffda1356c02b6a9b8c8 (diff) | |
download | servo-d96f0ff6a77e309682898cc7e1905a7bd0feb3cf.tar.gz servo-d96f0ff6a77e309682898cc7e1905a7bd0feb3cf.zip |
Use rustdoc --document-private-item instead of deprecated flags
… and use $RUSTDOCFLAGS instead of $RUSTDOC with a wrapper script
Diffstat (limited to 'python/servo/command_base.py')
-rw-r--r-- | python/servo/command_base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/servo/command_base.py b/python/servo/command_base.py index 09ab3f911c6..4b29b25daf6 100644 --- a/python/servo/command_base.py +++ b/python/servo/command_base.py @@ -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"] |