mirror of
https://github.com/servo/servo.git
synced 2025-06-20 15:18:58 +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
|
@ -302,6 +302,9 @@ 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['RUSTC'] = path.join(self.context.topdir, 'etc', 'rustc-with-gold')
|
||||
|
||||
return env
|
||||
|
||||
def servo_crate(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue