Skip to content

`cargo build` fails on Intel macOS

First off, thanks for building this cool project and open sourcing it! 💯 I was debugging with a colleague earlier, who was trying to build this project on an Intel Mac, and we saw the following:

When running cargo build on macOS on an Intel CPU, the build process returns an error, complaining that the linker x86_64-apple-darwin-gcc" cannot be found. This is, as far as I understand it, because on Intel macOS systems the linker is just called gcc, without the triplet prefix.

Removing the linker overwrite from .cargo/config solved the issue for us.

Edited by Lucas