summaryrefslogtreecommitdiff
path: root/xmake/modules/private/action/build/object.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2025-01-22 23:49:08 +0800
committerruki <[email protected]>2025-01-22 23:49:08 +0800
commitdebf039fb2d0fcdb53d56fcd9d2bcbb52eadc49d (patch)
treebaeb3b64a1294ef0996834a63db7dcbacd3776a2 /xmake/modules/private/action/build/object.lua
parent15bd9eb1d1fc7d5fe90ced13d35eaf9946823b25 (diff)
update comments
Diffstat (limited to 'xmake/modules/private/action/build/object.lua')
-rw-r--r--xmake/modules/private/action/build/object.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/action/build/object.lua b/xmake/modules/private/action/build/object.lua
index 60137f3cb..ae6bf9f4a 100644
--- a/xmake/modules/private/action/build/object.lua
+++ b/xmake/modules/private/action/build/object.lua
@@ -58,7 +58,7 @@ function _do_build_file(target, sourcefile, opt)
--
-- optimization:
-- we enable time cache to speed up is_changed, because there are a lot of header files in depfiles.
- -- but we need to cache it in link stage, maybe some objectfiles will be updated.
+ -- but we cannot cache it in link stage, maybe some objectfiles will be updated.
-- @see https://github.com/xmake-io/xmake/issues/6089
local depvalues = {compinst:program(), compflags}
local lastmtime = os.isfile(objectfile) and os.mtime(dependfile) or 0