commit | 69a738a701fde54686f1220d5968f048c0fa89f8 | [log] [tgz] |
---|---|---|
author | Damien Elmes <dae@users.noreply.github.com> | Fri Jan 07 10:14:58 2022 +1000 |
committer | GitHub <noreply@github.com> | Thu Jan 06 16:14:58 2022 -0800 |
tree | d8ab9ad77d4a3135ae74e8571a5322b969a1f48e | |
parent | 4f7bd8ada99a6f30d788028c1d24910d652238dd [diff] |
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.
This repository provides rules for building Rust projects with Bazel.
General discussions and announcements take place in the GitHub Discussions, but there are additional places where community members gather to discuss rules_rust
.
Please refer to the full documentation.