Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix cargo builds on arm64 macOS systems (Qiskit#269)
Building the retworkx library on macOS requires some extra rustc linker flags so that cargo and rustc are able to link the binary against python correctly at build time. To do this by default we added the cargo config for the x86_64 macOS target in Qiskit#53 which fixed it for all users running cargo on those platforms. However, now there are macOS systems that have aarch64 CPUs. To ensure that people trying to use cargo to build binaries on those systems don't need to manually specify the linker flags this commit adds the config for that target as well.
- Loading branch information