diff options
| author | ruki <[email protected]> | 2025-10-07 00:31:10 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-10-07 00:31:10 +0800 |
| commit | 69caeb34da2be2d03a86752b144c75881fcabf8f (patch) | |
| tree | 25d1efdc2d44d485782936e0e8023fc69e7436ac /xmake/rules/c++/modules/support.lua | |
| parent | 75a5ae1bfbd0570819c9cab6e623f2f26db2e8a2 (diff) | |
use hash64 instead of hash32
Diffstat (limited to 'xmake/rules/c++/modules/support.lua')
| -rw-r--r-- | xmake/rules/c++/modules/support.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xmake/rules/c++/modules/support.lua b/xmake/rules/c++/modules/support.lua index 2bf44bf51..0f89d4e98 100644 --- a/xmake/rules/c++/modules/support.lua +++ b/xmake/rules/c++/modules/support.lua @@ -273,7 +273,6 @@ function load_moduleinfo(target, sourcefile) if os.isfile(dependfile) then local data = io.load(dependfile) if data then - print(dependfile, data) moduleinfo = json.decode(data.moduleinfo) moduleinfo.sourcefile = sourcefile end @@ -348,7 +347,7 @@ function modules_cachedir(target, opt) end function get_modulehash(sourcefile) - return hash.strhash32(sourcefile) + return hash.strhash64(sourcefile) end function get_metafile(target, module) |
