Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for OSX aarch64 #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

akhenakh
Copy link

Go 1.16 adds support of 64-bit ARM architecture on macOS (also known as Apple Silicon) with GOOS=darwin, GOARCH=arm64. Like the darwin/amd64 port, the darwin/arm64 port supports cgo, internal and external linking, c-archive, c-shared, and pie build modes, and the race detector.

The iOS port, which was previously darwin/arm64, has been renamed to ios/arm64. GOOS=ios implies the darwin build tag, just as GOOS=android implies the linux build tag. This change should be transparent to anyone using gomobile to build iOS apps.

Note that this patch is only working for Go >= 1.16

@tboerger
Copy link

@jackspirou maybe you can take a look at it? This library should be updated especially because of Windows support, Golang upstream errors hard on windows, so we need an alternative approach to it. Maybe you even want to do some refactoring to use Golang upstream for everything except Windows?

@appleboy
Copy link

@jackspirou Any updates?

@tboerger
Copy link

This library is obsolete in the meantim as the std library should provide all you need these days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants