summaryrefslogtreecommitdiff
path: root/xmake/rules/c++/modules/gcc/support.lua
diff options
context:
space:
mode:
authorArthur LAURENT <[email protected]>2025-11-26 15:44:09 +0100
committerArthur LAURENT <[email protected]>2025-11-26 15:44:09 +0100
commit2efb74bb263ef964aae1f50a7f7ab4e7a4f13a60 (patch)
treeb526a1c3500666e41245d094287c443785425dfb /xmake/rules/c++/modules/gcc/support.lua
parentfee49894d216c926cd789ccf7883e220971c20ef (diff)
(modules) fix get_stdmodules with cross toolchain
Diffstat (limited to 'xmake/rules/c++/modules/gcc/support.lua')
-rw-r--r--xmake/rules/c++/modules/gcc/support.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/xmake/rules/c++/modules/gcc/support.lua b/xmake/rules/c++/modules/gcc/support.lua
index df0478c46..112272893 100644
--- a/xmake/rules/c++/modules/gcc/support.lua
+++ b/xmake/rules/c++/modules/gcc/support.lua
@@ -168,9 +168,6 @@ function _get_std_module_manifest_path(target)
end
function get_stdmodules(target)
- if not target:policy("build.c++.modules.std") then
- return
- end
local modules_json_path = _get_std_module_manifest_path(target)
if modules_json_path then
local modules_json = json.loadfile(modules_json_path)