Skip to content

Commit

Permalink
Revert e26ea1c
Browse files Browse the repository at this point in the history
  • Loading branch information
SirLynix authored Aug 7, 2024
1 parent 5e1dfa5 commit 0cfd969
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions xmake/core/base/private/is_cross.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0cfd969

Please sign in to comment.