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

Error in M1. Builds for x86_64 but attempts to link for arm64 #121

Open
querolita opened this issue Mar 16, 2023 · 0 comments
Open

Error in M1. Builds for x86_64 but attempts to link for arm64 #121

querolita opened this issue Mar 16, 2023 · 0 comments

Comments

@querolita
Copy link

I am working with a repository that has both OCaml code and Rust submodules. My machine is a MacBook Pro with M1 processor. When I run dune build in one of these rust libraries, I get the following error:

building for macOS-x86_64 but attempting to link with file built for macOS-arm64

How can I fix this?

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

No branches or pull requests

1 participant