summaryrefslogtreecommitdiff
path: root/xmake/rules/c++/modules/mapper.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2025-05-21 08:49:46 +0800
committerGitHub <[email protected]>2025-05-21 08:49:46 +0800
commitbcafeff3c75b26de9b156ed7e7b405e385491084 (patch)
tree961926aca0f46129d424d6f00856bf222ab83fff /xmake/rules/c++/modules/mapper.lua
parent25b22ca42b29389dd328003c5c6acc8d8af746ba (diff)
parente8a3f1e2e212990c9cae7b7702c0d0977e2a3ac5 (diff)
Merge pull request #6450 from Arthapz/optimize-module-support
(C++ modules support) Optimize module scanner
Diffstat (limited to 'xmake/rules/c++/modules/mapper.lua')
-rw-r--r--xmake/rules/c++/modules/mapper.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/xmake/rules/c++/modules/mapper.lua b/xmake/rules/c++/modules/mapper.lua
index de2bfe572..9c999fe3f 100644
--- a/xmake/rules/c++/modules/mapper.lua
+++ b/xmake/rules/c++/modules/mapper.lua
@@ -47,7 +47,6 @@ end
function feed(target, modules, sourcefiles)
local mapper = get_mapper_for(target, {invalidate = true})
- local localcache = support.localcache()
local deps_names = hashset.new()
local deps_names_map = {}
local headerunit_aliases = {}
@@ -110,8 +109,6 @@ function feed(target, modules, sourcefiles)
mapper[name] = _module
end
end
-
- localcache:save()
end
-- get a module from target mapper by name