summaryrefslogtreecommitdiff
path: root/xmake/modules/private/cache/build_cache.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2025-10-02 19:09:25 +0800
committerGitHub <[email protected]>2025-10-02 19:09:25 +0800
commitc62972f4def074c8b0b433e557a48d313bf77a18 (patch)
tree0a24c95b7e5f3b2c0b73c3a8857b77dee04842ea /xmake/modules/private/cache/build_cache.lua
parent553eceaccbddb35e8499b3a4332a5b798219f796 (diff)
parent6377f4494967e341150f0e2bb042d3c7d8bd15c9 (diff)
Merge pull request #6872 from xmake-io/opti
Improve hash
Diffstat (limited to 'xmake/modules/private/cache/build_cache.lua')
-rw-r--r--xmake/modules/private/cache/build_cache.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/cache/build_cache.lua b/xmake/modules/private/cache/build_cache.lua
index 3b82578e5..905426ef5 100644
--- a/xmake/modules/private/cache/build_cache.lua
+++ b/xmake/modules/private/cache/build_cache.lua
@@ -128,7 +128,7 @@ function cachekey(program, cppinfo, envs)
end
end
end
- return hash.xxhash128(bytes(table.concat(items, "")))
+ return hash.strhash128(table.concat(items, ""))
end
-- get cache root directory