summaryrefslogtreecommitdiff
path: root/xmake/rules/c++/modules/msvc/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/msvc/support.lua
parentfee49894d216c926cd789ccf7883e220971c20ef (diff)
(modules) fix get_stdmodules with cross toolchain
Diffstat (limited to 'xmake/rules/c++/modules/msvc/support.lua')
-rw-r--r--xmake/rules/c++/modules/msvc/support.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/xmake/rules/c++/modules/msvc/support.lua b/xmake/rules/c++/modules/msvc/support.lua
index ab2f35ab5..1f066de43 100644
--- a/xmake/rules/c++/modules/msvc/support.lua
+++ b/xmake/rules/c++/modules/msvc/support.lua
@@ -123,9 +123,6 @@ end
-- build c++23 standard modules if needed
function get_stdmodules(target, opt)
opt = opt or {}
- if not target:policy("build.c++.modules.std") then
- return
- end
local msvc
if opt.toolchain then
msvc = toolchain.load("msvc", {plat = opt.toolchain:plat(), arch = opt.toolchain:arch()})