aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/command_base.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/servo/command_base.py')
-rw-r--r--python/servo/command_base.py2
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"]