Skip to content

Commit

Permalink
Add link arguments to test-unit
Browse files Browse the repository at this point in the history
  • Loading branch information
UK992 committed Jul 28, 2016
1 parent dfc007e commit 1a8871e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/servo/testing_commands.py
Expand Up @@ -209,6 +209,9 @@ def test_unit(self, test_name=None, package=None):
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
Expand Down

0 comments on commit 1a8871e

Please sign in to comment.