diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2015-08-15 12:02:06 +0200 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2015-08-15 18:09:18 +0200 |
commit | fb7a53c6cfc8bc2985423a55834507c930537bfc (patch) | |
tree | 273948688b45cd4b5c97e659e58553a05d73b4c1 /python/servo/post_build_commands.py | |
parent | d4d18f51f2ac46191d94bfe322a2c0164fb98f17 (diff) | |
download | servo-fb7a53c6cfc8bc2985423a55834507c930537bfc.tar.gz servo-fb7a53c6cfc8bc2985423a55834507c930537bfc.zip |
Use the gold linker when available.
This shaves 50 seconds off the build time on my machine.
Diffstat (limited to 'python/servo/post_build_commands.py')
-rw-r--r-- | python/servo/post_build_commands.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/python/servo/post_build_commands.py b/python/servo/post_build_commands.py index fbeec5a6193..efa315158f8 100644 --- a/python/servo/post_build_commands.py +++ b/python/servo/post_build_commands.py @@ -156,10 +156,8 @@ class MachCommands(CommandBase): else: copy2(full_name, destination) - env = self.build_env() - env['RUSTDOC'] = '../../etc/rustdoc-with-private' return subprocess.call(["cargo", "doc"] + params, - env=env, cwd=self.servo_crate()) + env=self.build_env(), cwd=self.servo_crate()) @Command('browse-doc', description='Generate documentation and open it in a web browser', |