-
Notifications
You must be signed in to change notification settings - Fork 460
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add support for targeting iOS simulator on Apple Silicon (#1073)
When building on an Apple Silicon machine, a different target triple is required to target the simulator: https://doc.rust-lang.org/rustc/platform-support/aarch64-apple-ios-sim.html As rules_rust currently ignores abi in triples, listing device and simulator triples in a rust_repository_set() ends up always using the first one. Adding this constraint allows a build to be switched between targeting a device and targeting the simulator.
- Loading branch information
Showing
2 changed files
with
16 additions
and
3 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
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