mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Don't explicitly disable gold on Windows
This seems to be working fine now on CI, so I think we can remove this workaround.
This commit is contained in:
parent
8bac189ea2
commit
da581535d1
1 changed files with 1 additions and 2 deletions
|
@ -628,8 +628,7 @@ class CommandBase(object):
|
|||
if self.config["build"]["rustflags"]:
|
||||
env['RUSTFLAGS'] = env.get('RUSTFLAGS', "") + " " + self.config["build"]["rustflags"]
|
||||
|
||||
# Don't run the gold linker if on Windows https://github.com/servo/servo/issues/9499
|
||||
if self.config["tools"]["rustc-with-gold"] and sys.platform != "win32":
|
||||
if self.config["tools"]["rustc-with-gold"]:
|
||||
if subprocess.call(['which', 'ld.gold'], stdout=PIPE, stderr=PIPE) == 0:
|
||||
env['RUSTFLAGS'] = env.get('RUSTFLAGS', "") + " -C link-args=-fuse-ld=gold"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue