mirror of
https://github.com/servo/servo.git
synced 2025-08-01 03:30:33 +01:00
Use the gold linker when available.
This shaves 50 seconds off the build time on my machine.
This commit is contained in:
parent
d4d18f51f2
commit
fb7a53c6cf
3 changed files with 8 additions and 3 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue