summaryrefslogtreecommitdiff
path: root/xmake/core/platform/platform.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-12-15 00:44:32 +0800
committerruki <[email protected]>2020-12-15 00:44:32 +0800
commit99a7d26748e8afa84fa7123344f6aa4d24a1be93 (patch)
treeaeaa96d72eea4170ec46f89f85189f03cb9393d5 /xmake/core/platform/platform.lua
parenta6f93e44186006e0ee73450937608ec24fef192e (diff)
fix check vs
Diffstat (limited to 'xmake/core/platform/platform.lua')
-rw-r--r--xmake/core/platform/platform.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/xmake/core/platform/platform.lua b/xmake/core/platform/platform.lua
index 0c2565099..dda45956d 100644
--- a/xmake/core/platform/platform.lua
+++ b/xmake/core/platform/platform.lua
@@ -195,7 +195,10 @@ function _instance:tool(toolkind)
for idx, toolchain_inst in ipairs(toolchains) do
program, toolname = toolchain_inst:tool(toolkind)
if program then
- toolchain_info = {name = toolchain_inst:name(), plat = toolchain_inst:plat(), arch = toolchain_inst:arch(), cachekey = toolchain_inst:cachekey()}
+ toolchain_info = {name = toolchain_inst:name(),
+ plat = toolchain_inst:plat(),
+ arch = toolchain_inst:arch(),
+ cachekey = toolchain_inst:cachekey()}
toolinfo[1] = program
toolinfo[2] = toolname
toolinfo[3] = toolchain_info