summaryrefslogtreecommitdiff
path: root/xmake/modules/private/utils/toolchain.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2025-12-18 23:02:44 +0800
committerruki <[email protected]>2025-12-18 23:02:44 +0800
commit230d71453b663c15f40f4f67998e75dd23de96f0 (patch)
treec7a630e7faf43a53f6a92d4df8adc6d40fe63edb /xmake/modules/private/utils/toolchain.lua
parent405eecb3e6de20bdc1012ce22c0fb0afaa861bf2 (diff)
rename to add_llvm_runenvs
Diffstat (limited to 'xmake/modules/private/utils/toolchain.lua')
-rw-r--r--xmake/modules/private/utils/toolchain.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/private/utils/toolchain.lua b/xmake/modules/private/utils/toolchain.lua
index 37ba7b5d3..bb7d6edba 100644
--- a/xmake/modules/private/utils/toolchain.lua
+++ b/xmake/modules/private/utils/toolchain.lua
@@ -332,8 +332,8 @@ function get_llvm_dirs(toolchain)
return llvm_dirs
end
--- set runenvs for llvm
-function set_llvm_runenvs(toolchain)
+-- add runenvs for llvm
+function add_llvm_runenvs(toolchain)
local dirs = get_llvm_dirs(toolchain)
if dirs then
if dirs.bindir and (toolchain:is_plat("windows") or is_host("windows")) then