diff options
| author | ruki <[email protected]> | 2025-09-30 22:53:02 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-09-30 22:53:02 +0800 |
| commit | c03e3c0a1d584826a070079e141374ac9963da7c (patch) | |
| tree | 92b8a97f93c81473f35f93261f82546035726e01 | |
| parent | 3462dede0458b1bf755dcdb24bdc98b6f947188c (diff) | |
update module hash
| -rw-r--r-- | xmake/rules/c++/modules/support.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/rules/c++/modules/support.lua b/xmake/rules/c++/modules/support.lua index 8d1c39531..cee0f1ab8 100644 --- a/xmake/rules/c++/modules/support.lua +++ b/xmake/rules/c++/modules/support.lua @@ -336,7 +336,7 @@ function modules_cachedir(target, opt) moduletype = "interfaces" elseif opt.scan then moduletype = "scans" - else + else moduletype = "implementation" end local cachedir = path.join(target:autogendir(), "rules", "bmi", "cache", moduletype) @@ -347,7 +347,7 @@ function modules_cachedir(target, opt) end function get_modulehash(sourcefile) - return hash.uuid(sourcefile):split("-", {plain = true})[1]:lower() + return hash.strhash32(sourcefile) end function get_metafile(target, module) |
