Universal macOS applications?

What's best way to create a "fat" binary for x86_64 + aarch64 from a Rust/Cargo project?

It looks like Rust/Cargo is capable of building only a single target at a time. I know there's cargo-lipo, but it seems to be for iOS, not macOS, and it's for static libraries, not executables.

To answer my own question, running lipo -create from command line is enough. I've filed a ticket to make this built-in into Cargo to match what Xcode does:

4 Likes