diff options
author | UK992 <urbankrajnc92@gmail.com> | 2016-07-29 00:18:25 +0200 |
---|---|---|
committer | UK992 <urbankrajnc92@gmail.com> | 2016-07-29 00:20:28 +0200 |
commit | 1a8871ea1b090bb90c66ec0c5481a1e5c204220b (patch) | |
tree | f655f138648e52dca97c1e6e16499287300846e9 /python | |
parent | dfc007e10e8f0815966682e768685f14e55164c2 (diff) | |
download | servo-1a8871ea1b090bb90c66ec0c5481a1e5c204220b.tar.gz servo-1a8871ea1b090bb90c66ec0c5481a1e5c204220b.zip |
Add link arguments to test-unit
Diffstat (limited to 'python')
-rw-r--r-- | python/servo/testing_commands.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py index b4c045d4a70..4776a9209d1 100644 --- a/python/servo/testing_commands.py +++ b/python/servo/testing_commands.py @@ -209,6 +209,9 @@ class MachCommands(CommandBase): env = self.build_env() env["RUST_BACKTRACE"] = "1" + if sys.platform == "win32" or sys.platform == "msys": + env["RUSTFLAGS"] = "-C link-args=-Wl,--subsystem,windows" + result = call(args, env=env, cwd=self.servo_crate()) if result != 0: return result |