diff options
| author | ruki <[email protected]> | 2025-10-01 00:37:42 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-10-01 00:37:42 +0800 |
| commit | 4ef482175337e64d7bf2fb33abec2917c9e4fd4d (patch) | |
| tree | d5651cb3495010394e924178d9aa211bec8d2c3e /xmake/rules/c++/unity_build/unity_build.lua | |
| parent | e4a2d682015b651adfcf7d7494a295c3276d7f10 (diff) | |
update some uuid hashes
Diffstat (limited to 'xmake/rules/c++/unity_build/unity_build.lua')
| -rw-r--r-- | xmake/rules/c++/unity_build/unity_build.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/c++/unity_build/unity_build.lua b/xmake/rules/c++/unity_build/unity_build.lua index e8f37f868..1ced33ec8 100644 --- a/xmake/rules/c++/unity_build/unity_build.lua +++ b/xmake/rules/c++/unity_build/unity_build.lua @@ -36,7 +36,7 @@ function _merge_unityfile(target, sourcefile_unity, sourcefiles, opt) sourcefile_unity = path.absolute(sourcefile_unity) sourcefile = path.relative(sourcefile, path.directory(sourcefile_unity)) if uniqueid then - unityfile:print("#define %s %s", uniqueid, "unity_" .. hash.uuid():split("-", {plain = true})[1]) + unityfile:print("#define %s %s", uniqueid, "unity_" .. hash.random32()) end unityfile:print("#include \"%s\"", sourcefile) if uniqueid then |
