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/scanner.lua | |
| parent | 75a5ae1bfbd0570819c9cab6e623f2f26db2e8a2 (diff) | |
use hash64 instead of hash32
Diffstat (limited to 'xmake/rules/c++/modules/scanner.lua')
| -rw-r--r-- | xmake/rules/c++/modules/scanner.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/c++/modules/scanner.lua b/xmake/rules/c++/modules/scanner.lua index fa2c3b98b..818e37aa2 100644 --- a/xmake/rules/c++/modules/scanner.lua +++ b/xmake/rules/c++/modules/scanner.lua @@ -418,7 +418,7 @@ function _patch_sourcebatch(target, sourcebatch) memcache:set2(target:fullname(), "cached_sourcebatch", sourcebatch) local keys = #sourcebatch.sourcefiles > 0 and table.concat(sourcebatch.sourcefiles) or "_" - local sum = hash.strhash32(keys) + local sum = hash.strhash64(keys) local cached_sum = localcache:get2(target:fullname(), "sourcebatch_sum") if not cached_sum or cached_sum ~= sum then localcache:set2(target:fullname(), "sourcebatch_sum", sum) |
