aboutsummaryrefslogtreecommitdiff
path: root/xmake.lua
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2023-10-28 00:07:34 +0200
committerGitHub <[email protected]>2023-10-28 00:07:34 +0200
commit083aa76e00d71b42bcd3443eebc89c5599ce7fc2 (patch)
treedc882fa18b12422b8c3b4ad448507f6cc2656e4b /xmake.lua
parent0.2.30 (diff)
downloadzen-083aa76e00d71b42bcd3443eebc89c5599ce7fc2.tar.xz
zen-083aa76e00d71b42bcd3443eebc89c5599ce7fc2.zip
set up arch properly when running tests (mac) (#505)
Diffstat (limited to 'xmake.lua')
-rw-r--r--xmake.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake.lua b/xmake.lua
index 58f752fd6..f83da08db 100644
--- a/xmake.lua
+++ b/xmake.lua
@@ -223,6 +223,8 @@ task("test")
local arch
if is_host("windows") then
arch = "x64"
+ elseif is_arch("arm64") then
+ arch = "arm64"
else
arch = "x86_64"
end