summaryrefslogtreecommitdiff
path: root/xmake/core/tool/toolchain.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-01-25 22:39:15 +0800
committerruki <[email protected]>2021-01-25 22:39:15 +0800
commit22e78e33f6c3567228a1b8b4e1837171498ccab3 (patch)
treee33a88e9e8d2d2a12ab1564c46f57ed08121679a /xmake/core/tool/toolchain.lua
parentfa171c502d6b20431af22321005024e593d4170d (diff)
support zig cc/c++
Diffstat (limited to 'xmake/core/tool/toolchain.lua')
-rw-r--r--xmake/core/tool/toolchain.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/core/tool/toolchain.lua b/xmake/core/tool/toolchain.lua
index 78caadc12..9bd5e71ba 100644
--- a/xmake/core/tool/toolchain.lua
+++ b/xmake/core/tool/toolchain.lua
@@ -371,6 +371,7 @@ function _instance:_checktool(toolkind, toolpath)
-- find tool program
local program, toolname
local tool = find_tool(toolpath, {cachekey = self:cachekey(), program = toolpath, paths = self:bindir(), envs = self:get("runenvs")})
+ print(self:name(), toolkind, tool)
if tool then
program = tool.program
toolname = tool.name