aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/testing_commands.py
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2018-01-09 22:53:26 +0100
committerSimon Sapin <simon.sapin@exyr.org>2018-01-10 18:05:28 +0100
commit6dff251e35736fa74eaab6ddbc8b6ecec08ecf48 (patch)
tree4877c16e9f4ec1580495ff431a15c7ee6bf5e0fc /python/servo/testing_commands.py
parente2c89df8eeb5f2dbac1436335aea52099a622d0d (diff)
downloadservo-6dff251e35736fa74eaab6ddbc8b6ecec08ecf48.tar.gz
servo-6dff251e35736fa74eaab6ddbc8b6ecec08ecf48.zip
Revert "Use rustdoc --document-private-item instead of deprecated flags"
This reverts commit d96f0ff6a77e309682898cc7e1905a7bd0feb3cf.
Diffstat (limited to 'python/servo/testing_commands.py')
-rw-r--r--python/servo/testing_commands.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py
index de77c85c285..8a8c41597b9 100644
--- a/python/servo/testing_commands.py
+++ b/python/servo/testing_commands.py
@@ -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.