diff options
| -rw-r--r-- | xmake/core/platform/platform.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/platform/platform.lua b/xmake/core/platform/platform.lua index a7ab68fca..1b2ba19e3 100644 --- a/xmake/core/platform/platform.lua +++ b/xmake/core/platform/platform.lua @@ -151,7 +151,7 @@ end -- get the toolchains function _instance:toolchains(opt) local toolchains = self:_memcache():get("toolchains") - if not toolchains or #toolchains == 0 then + if not toolchains then -- get current valid toolchains from configuration cache local names = nil |
