From e432b35f84dcfa2daad137a0fbb96d22ad48af04 Mon Sep 17 00:00:00 2001 From: Chi Huu Huynh <73843190+Chi-EEE@users.noreply.github.com> Date: Thu, 29 Aug 2024 16:06:45 +0100 Subject: Update platform.lua --- xmake/core/platform/platform.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.3.1