summaryrefslogtreecommitdiff
path: root/xmake/modules/private/cache/build_cache.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2025-09-30 22:45:25 +0800
committerruki <[email protected]>2025-09-30 22:45:25 +0800
commit3462dede0458b1bf755dcdb24bdc98b6f947188c (patch)
tree0a9c9c7fb33918fc51ed7b1fd39706b8f597d7df /xmake/modules/private/cache/build_cache.lua
parent703dec087d98946bc2ba5384d2274e588f8ee96d (diff)
improve build cache key
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