summaryrefslogtreecommitdiff
path: root/xmake/core/project/target.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/core/project/target.lua')
-rw-r--r--xmake/core/project/target.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/core/project/target.lua b/xmake/core/project/target.lua
index e9a603476..ca46a7b69 100644
--- a/xmake/core/project/target.lua
+++ b/xmake/core/project/target.lua
@@ -2101,6 +2101,8 @@ function _instance:toolchains()
-- we always need a standalone toolchain
-- because we maybe only set partial toolchains in target, e.g. nasm toolchain
+ --
+ -- @note platform has been checked in config/_check_target_toolchains
if not has_standalone then
for _, toolchain_inst in ipairs(self:platform():toolchains()) do
if toolchain_inst:is_standalone() then