mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Add link arguments to test-unit
This commit is contained in:
parent
dfc007e10e
commit
1a8871ea1b
1 changed files with 3 additions and 0 deletions
|
@ -209,6 +209,9 @@ class MachCommands(CommandBase):
|
||||||
env = self.build_env()
|
env = self.build_env()
|
||||||
env["RUST_BACKTRACE"] = "1"
|
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())
|
result = call(args, env=env, cwd=self.servo_crate())
|
||||||
if result != 0:
|
if result != 0:
|
||||||
return result
|
return result
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue