aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/command_base.py
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2023-06-22 08:51:38 +0200
committerMartin Robinson <mrobinson@igalia.com>2023-06-22 11:54:37 +0200
commitda581535d1dd37bd6f9a52a1500877a0687b784d (patch)
tree06b7c03f606f413c80fa4ff9cbcec261f48972b1 /python/servo/command_base.py
parent8bac189ea22ae1c120ae81ed8fe116e8c2914ea4 (diff)
downloadservo-da581535d1dd37bd6f9a52a1500877a0687b784d.tar.gz
servo-da581535d1dd37bd6f9a52a1500877a0687b784d.zip
Don't explicitly disable gold on Windows
This seems to be working fine now on CI, so I think we can remove this workaround.
Diffstat (limited to 'python/servo/command_base.py')
-rw-r--r--python/servo/command_base.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/python/servo/command_base.py b/python/servo/command_base.py
index e92b0817b08..33c3689b954 100644
--- a/python/servo/command_base.py
+++ b/python/servo/command_base.py
@@ -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"