From 083aa76e00d71b42bcd3443eebc89c5599ce7fc2 Mon Sep 17 00:00:00 2001 From: Stefan Boberg Date: Sat, 28 Oct 2023 00:07:34 +0200 Subject: set up arch properly when running tests (mac) (#505) --- xmake.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xmake.lua') 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 -- cgit v1.2.3