summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2024-03-23 00:41:15 +0800
committerruki <[email protected]>2024-03-23 00:41:15 +0800
commitf259e3c8f7d94f872590f1ca743c47095f4723e8 (patch)
treeedb1ef7d187efe7a7aaeb6e38dd4d7e6d983151e
parentabe7c109927250244ff0294525054401134da79f (diff)
revert check toolchain
-rw-r--r--xmake/core/tool/toolchain.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/xmake/core/tool/toolchain.lua b/xmake/core/tool/toolchain.lua
index ea0e9d580..be4e82810 100644
--- a/xmake/core/tool/toolchain.lua
+++ b/xmake/core/tool/toolchain.lua
@@ -208,9 +208,6 @@ end
-- get the program and name of the given tool kind
function _instance:tool(toolkind)
- if not self._CHECKED then
- os.raise("we cannot get tool(%s) in toolchain(%s), it's not checked", toolkind, self:name())
- end
-- ensure to do load for initializing toolset first
-- @note we cannot call self:check() here, because it can only be called on config
self:_load()