-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cargo-coupler bundle: support universal binaries on macos
Add an "aarch64-x86_64-apple-darwin" target triple which represents universal binaries containing both aarch64 and x86_64 builds. When this target triple is specified, invoke `cargo build` for both "aarch64-apple-darwin" and "x86_64-apple-darwin", then use `lipo` to produce the final universal binary to go in the bundle.
- Loading branch information
Showing
1 changed file
with
106 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters