summaryrefslogtreecommitdiff
path: root/xmake/core/platform
diff options
context:
space:
mode:
authorwtz <[email protected]>2023-07-19 12:35:52 +0800
committerwtz <[email protected]>2023-07-19 12:35:52 +0800
commitf75224a8435d0eb9cdda79f8bc571eeef25a8e33 (patch)
tree278e00b17c8f5558df1c1a21f1204078ea62a58f /xmake/core/platform
parentca83e9a78b7f2d45e833fa705c880867ad2381c6 (diff)
Fix grammar
Diffstat (limited to 'xmake/core/platform')
-rw-r--r--xmake/core/platform/platform.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/platform/platform.lua b/xmake/core/platform/platform.lua
index cc46b8d41..01d5b0e5e 100644
--- a/xmake/core/platform/platform.lua
+++ b/xmake/core/platform/platform.lua
@@ -66,7 +66,7 @@ end
-- set platform architecture
function _instance:arch_set(arch)
if self:arch() ~= arch then
- -- we need clean the dirty cache if architecture has been changed
+ -- we need to clean the dirty cache if architecture has been changed
platform._PLATFORMS[self:name() .. "_" .. self:arch()] = nil
platform._PLATFORMS[self:name() .. "_" .. arch] = self
self._ARCH = arch
@@ -243,7 +243,7 @@ function _instance:check()
local toolchains_valid = {}
while idx <= num do
local toolchain = toolchains[idx]
- -- we need remove other standalone toolchains if standalone toolchain found
+ -- we need to remove other standalone toolchains if standalone toolchain found
if (standalone and toolchain:is_standalone()) or not toolchain:check() then
table.remove(toolchains, idx)
num = num - 1