From e681e2b3f3e91b4dd6e0112263e976fcb22e8c83 Mon Sep 17 00:00:00 2001 From: Martin Robinson Date: Sat, 1 Jul 2023 15:00:24 +0200 Subject: Set the Windows subsystem using a rust directive This is one less thing that mach has to do now. --- python/servo/build_commands.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'python/servo/build_commands.py') diff --git a/python/servo/build_commands.py b/python/servo/build_commands.py index d56246f9c1d..9fbdac6a1c0 100644 --- a/python/servo/build_commands.py +++ b/python/servo/build_commands.py @@ -425,11 +425,6 @@ class MachCommands(CommandBase): ) assert os.path.exists(servo_exe_dir) - # on msvc builds, use editbin to change the subsystem to windows, but only - # on release builds -- on debug builds, it hides log output - if not dev and not libsimpleservo: - call(["editbin", "/nologo", "/subsystem:windows", path.join(servo_exe_dir, "servo.exe")], - verbose=verbose) # on msvc, we need to copy in some DLLs in to the servo.exe dir and the directory for unit tests. for ssl_lib in ["libssl.dll", "libcrypto.dll"]: ssl_path = path.join(env['OPENSSL_LIB_DIR'], "../bin", ssl_lib) -- cgit v1.2.3