summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/ml/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/core/tools/ml/has_flags.lua
parenta0cc61b1894a427731beebbb2f3d2005895c212c (diff)
improve detectcache save
Diffstat (limited to 'xmake/modules/core/tools/ml/has_flags.lua')
-rw-r--r--xmake/modules/core/tools/ml/has_flags.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/ml/has_flags.lua b/xmake/modules/core/tools/ml/has_flags.lua
index 1b607f496..2980d6051 100644
--- a/xmake/modules/core/tools/ml/has_flags.lua
+++ b/xmake/modules/core/tools/ml/has_flags.lua
@@ -50,7 +50,6 @@ function _check_from_arglist(flags, opt)
-- save cache
detectcache:set2(key, flagskey, allflags)
- detectcache:save()
end
return allflags[flags[1]:gsub("/", "-")]
end