summaryrefslogtreecommitdiff
path: root/xmake/rules/c++/modules/config.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2025-08-19 10:59:05 +0800
committerGitHub <[email protected]>2025-08-19 10:59:05 +0800
commitc31cd67e1815e37620a1b8b252240d5dbbc1ed85 (patch)
tree08b139dda7dbdc9095d2c77e66704ffa5833db79 /xmake/rules/c++/modules/config.lua
parent56eaa5721cb8408013ebde1d95b84a3b3872d9d7 (diff)
parentde2dd38726f49b8bdedd17641486a3d3a39907aa (diff)
Merge pull request #6712 from Arthapz/fix-moduleonly-installation
fix(c++ modules) fix disabled target getting configured for module compilation
Diffstat (limited to 'xmake/rules/c++/modules/config.lua')
-rw-r--r--xmake/rules/c++/modules/config.lua5
1 files changed, 0 insertions, 5 deletions
diff --git a/xmake/rules/c++/modules/config.lua b/xmake/rules/c++/modules/config.lua
index 401f3ebc0..a0f7dcc33 100644
--- a/xmake/rules/c++/modules/config.lua
+++ b/xmake/rules/c++/modules/config.lua
@@ -76,11 +76,6 @@ function main(target)
target:add("files")
end
- local memcache = support.memcache()
- local targets = memcache:get("targets") or {}
- targets[target:fullname()] = {}
- targets[target:fullname()].finished_parsing = false
- memcache:set("targets", targets)
-- moduleonly modules are implicitly public
if target:is_moduleonly() then
local sourcebatches = target:sourcebatches()