From 0cfd96928e1f56c4f9dd9a82662ec67313da58e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Leclercq?= Date: Wed, 7 Aug 2024 12:17:11 +0200 Subject: [PATCH] Revert e26ea1c31f9fd0733590c36db4b6f9003fae8547 --- xmake/core/base/private/is_cross.lua | 8 -------- 1 file changed, 8 deletions(-) diff --git a/xmake/core/base/private/is_cross.lua b/xmake/core/base/private/is_cross.lua index c395124ab68..d794f147acd 100644 --- a/xmake/core/base/private/is_cross.lua +++ b/xmake/core/base/private/is_cross.lua @@ -40,14 +40,6 @@ function is_cross(plat, arch) elseif plat == "mingw" then return false end - elseif host_os == "macosx" then - if plat == "macosx" then - local host_arch = os.arch() - -- arm64 macOS can execute x86_64 (rosetta) - if host_arch == "arm64" and arch == "x86_64" then - return false - end - end end if plat ~= os.host() and plat ~= os.subhost() then return true