summaryrefslogtreecommitdiff
path: root/xmake/core/sandbox/modules
diff options
context:
space:
mode:
authorruki <[email protected]>2024-10-11 00:56:19 +0800
committerruki <[email protected]>2024-10-11 00:56:19 +0800
commite0c0cddf7cc74bfbb2f948651be251ce7d4f6b57 (patch)
tree7716e34bcbf6fba33851d9a07becaba3aaf05d0a /xmake/core/sandbox/modules
parentd023f3501a95bcd2c7475b578bed7585d8ed60d3 (diff)
replace some hash case
Diffstat (limited to 'xmake/core/sandbox/modules')
-rw-r--r--xmake/core/sandbox/modules/import/core/sandbox/module.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/sandbox/modules/import/core/sandbox/module.lua b/xmake/core/sandbox/modules/import/core/sandbox/module.lua
index bddfb1524..df1d31240 100644
--- a/xmake/core/sandbox/modules/import/core/sandbox/module.lua
+++ b/xmake/core/sandbox/modules/import/core/sandbox/module.lua
@@ -203,7 +203,7 @@ function core_sandbox_module._native_moduleinfo(module_fullpath, modulekind)
local projectdir = path.normalize(path.absolute(module_fullpath))
local programdir = path.normalize(os.programdir())
local modulename = path.basename(module_fullpath)
- local modulehash = hash.uuid4(projectdir):split("-", {plain = true})[1]:lower()
+ local modulehash = hash.strhash32(projectdir)
local buildir
local is_global = false
local modulepath