Skip to content

Commit

Permalink
support -print-library-module-manifest-path for std module detection on
Browse files Browse the repository at this point in the history
clang
  • Loading branch information
Arthapz committed Mar 6, 2024
1 parent 566d3e7 commit 349a7fb
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,9 @@ function _get_std_module_manifest_path(target)
local clang_lib_path = path.join(clang_path, "..", "lib")
local modules_json_path = path.join(clang_lib_path, "libc++.modules.json")
if not os.isfile(modules_json_path) then
return find_file("*/libc++.modules.json", clang_lib_path)
modules_json_path = find_file("*/libc++.modules.json", clang_lib_path)
end
return modules_json_path
end

-- load module support for the current target
Expand Down

0 comments on commit 349a7fb

Please sign in to comment.