diff options
| author | Chi Huu Huynh <[email protected]> | 2024-08-29 16:06:45 +0100 |
|---|---|---|
| committer | Chi Huu Huynh <[email protected]> | 2024-08-29 16:06:45 +0100 |
| commit | e432b35f84dcfa2daad137a0fbb96d22ad48af04 (patch) | |
| tree | 153c9040a1654ca343f9ab022116a9ad32f1b546 | |
| parent | 5d28f368645e6f5ecc4fd0e2b0b6e542f809bfc1 (diff) | |
Update platform.lua
| -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 |
