Revert "Use rustdoc --document-private-item instead of deprecated flags"

This reverts commit d96f0ff6a7.
This commit is contained in:
Simon Sapin 2018-01-09 22:53:26 +01:00
parent e2c89df8ee
commit 6dff251e35
3 changed files with 10 additions and 6 deletions

View file

@ -255,12 +255,9 @@ class MachCommands(CommandBase):
packages.discard('stylo')
env = self.build_env()
env = self.build_env(test_unit=True)
env["RUST_BACKTRACE"] = "1"
# Work around https://github.com/rust-lang/cargo/issues/4790
del env["RUSTDOCFLAGS"]
if "msvc" in host_triple():
# on MSVC, we need some DLLs in the path. They were copied
# in to the servo.exe build dir, so just point PATH to that.