mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00: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["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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue