summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/zig.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-12-12 17:20:36 +0800
committerruki <[email protected]>2020-12-12 17:20:36 +0800
commita19599daf975eed4d31e0815aeaf3a326acf58f8 (patch)
tree4456edb8b8668f968c54f46e17adbda3641a20b3 /xmake/modules/core/tools/zig.lua
parent3b00d2ead350fcc5e26f40878d5e1e342adfc67a (diff)
set subsystem to zig
Diffstat (limited to 'xmake/modules/core/tools/zig.lua')
-rw-r--r--xmake/modules/core/tools/zig.lua8
1 files changed, 0 insertions, 8 deletions
diff --git a/xmake/modules/core/tools/zig.lua b/xmake/modules/core/tools/zig.lua
index 23f0d6e32..81d06c0da 100644
--- a/xmake/modules/core/tools/zig.lua
+++ b/xmake/modules/core/tools/zig.lua
@@ -106,14 +106,6 @@ function linkargv(self, objectfiles, targetkind, targetfile, flags)
local argv = {}
if targetkind == "binary" then
table.insert(argv, "build-exe")
- if is_plat("windows") then
- -- TODO this is only a temporary workaround to fix msvc/lld issue for zig 0.7.0.
- -- @see https://github.com/ziglang/zig/issues/5825
- table.insert(argv, "--subsystem")
- table.insert(argv, "console")
- table.insert(argv, "-lkernel32")
- table.insert(argv, "-lntdll")
- end
elseif targetkind == "static" or targetkind == "shared" then
table.insert(argv, "build-lib")
else