commit | 73d0164a34efed6182ca90353c4043958f41904b | [log] [tgz] |
---|---|---|
author | Keith Smiley <keithbsmiley@gmail.com> | Wed May 04 11:21:10 2022 -0700 |
committer | GitHub <noreply@github.com> | Wed May 04 11:21:10 2022 -0700 |
tree | 5a90908e3d65d01719a9ed5a9e68af8bd9ee5f26 | |
parent | 61eee54c737cd0a0f48bc9df856a7745e58834c0 [diff] |
Add support for aarch64-apple-ios-sim (#1304) This adds / improves support for for the arm64 iOS simulator that's used on M1 macs. Previously there was ambiguity in the constraints used for this platform because bazel does not pick the best match, so this adds the device constraint in this case to disambiguate. Ideally we could rely on not having the `sim` suffix to be enough to add the device constraint, but older triples like `x86_64-apple-ios` break this pattern. I broke this logic out into a new function since it relies on more info from the triple than just the ABI now. https://github.com/bazelbuild/bazel/issues/11454 Co-authored-by: UebelAndre <github@uebelandre.com>
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.