diff options
Diffstat (limited to 'python/servo/testing_commands.py')
-rw-r--r-- | python/servo/testing_commands.py | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py index c00bcc42057..70c90eab136 100644 --- a/python/servo/testing_commands.py +++ b/python/servo/testing_commands.py @@ -245,13 +245,10 @@ class MachCommands(CommandBase): env = self.build_env() env["RUST_BACKTRACE"] = "1" - if sys.platform in ("win32", "msys"): - if "msvc" in host_triple(): - # on MSVC, we need some DLLs in the path. They were copied - # in to the servo.exe build dir, so just point PATH to that. - env["PATH"] = "%s%s%s" % (path.dirname(self.get_binary_path(False, False)), os.pathsep, env["PATH"]) - else: - env["RUSTFLAGS"] = "-C link-args=-Wl,--subsystem,windows" + if "msvc" in host_triple(): + # on MSVC, we need some DLLs in the path. They were copied + # in to the servo.exe build dir, so just point PATH to that. + env["PATH"] = "%s%s%s" % (path.dirname(self.get_binary_path(False, False)), os.pathsep, env["PATH"]) features = self.servo_features() if len(packages) > 0: |