summaryrefslogtreecommitdiff
path: root/xmake/rules/c++/modules/modules_support
diff options
context:
space:
mode:
authorArthur LAURENT <[email protected]>2024-02-02 15:43:12 +0100
committerArthur LAURENT <[email protected]>2024-02-02 15:43:12 +0100
commit55d933b7be5395bb402f2670eb511d512cdf59c9 (patch)
tree690a34e7cfa5457e3d050040b3928e2c14238fa9 /xmake/rules/c++/modules/modules_support
parent5c8d2cb32c5638f2f2255fa3c1044169c0a1d7be (diff)
cleanup
Diffstat (limited to 'xmake/rules/c++/modules/modules_support')
-rw-r--r--xmake/rules/c++/modules/modules_support/clang/compiler_support.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/xmake/rules/c++/modules/modules_support/clang/compiler_support.lua b/xmake/rules/c++/modules/modules_support/clang/compiler_support.lua
index 83bd104be..5199fb43d 100644
--- a/xmake/rules/c++/modules/modules_support/clang/compiler_support.lua
+++ b/xmake/rules/c++/modules/modules_support/clang/compiler_support.lua
@@ -208,7 +208,6 @@ function get_stdmodules(target)
local modules_json_path = find_file("**.modules.json", clang_lib_path)
if modules_json_path then
local modules_json = json.decode(io.readfile(modules_json_path))
-
local std_module_directory = path.directory(modules_json.modules[1]["source-path"])
if not path.is_absolute(std_module_directory) then
std_module_directory = path.join(path.directory(modules_json_path), std_module_directory)