summaryrefslogtreecommitdiff
path: root/xmake/modules/lib/detect/has_flags.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2025-09-10 22:32:48 +0800
committerruki <[email protected]>2025-09-10 21:52:30 +0800
commitc54be3773f1723268a1b0abbd65f38a8ac8b95f4 (patch)
tree642b888c63b0401c1ac379638a305af9b2751a9c /xmake/modules/lib/detect/has_flags.lua
parenta0cc61b1894a427731beebbb2f3d2005895c212c (diff)
improve detectcache save
Diffstat (limited to 'xmake/modules/lib/detect/has_flags.lua')
-rw-r--r--xmake/modules/lib/detect/has_flags.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/xmake/modules/lib/detect/has_flags.lua b/xmake/modules/lib/detect/has_flags.lua
index af4197e4a..b122bcebb 100644
--- a/xmake/modules/lib/detect/has_flags.lua
+++ b/xmake/modules/lib/detect/has_flags.lua
@@ -150,7 +150,6 @@ function main(name, flags, opt)
-- save result to cache
cacheinfo[key] = result
detectcache:set("lib.detect.has_flags", cacheinfo)
- detectcache:save()
scheduler.co_unlock(key)
return result
end