commit | da3d522d59becbec5697dac0b2aa39890656ed4b | [log] [tgz] |
---|---|---|
author | Damien Elmes <dae@users.noreply.github.com> | Fri Oct 07 20:04:09 2022 +1000 |
committer | GitHub <noreply@github.com> | Fri Oct 07 11:04:09 2022 +0100 |
tree | bf52bec043d1e7a0f691dbceb0ec1094e72e24f7 | |
parent | d288ed634f9e149ceb0c81bda6cd93a810cf7e64 [diff] |
Fix build scripts targeting the wrong architecture (#1564) * Fix build scripts targeting the wrong architecture PR #1081 started passing CFLAGS to build scripts, which cargo does too. But unfortunately Bazel's cpp toolchain adds an explicit target to the CFLAGS it provides, and that target uses the host platform instead of the target platform. When building a crate like blake3 or zstd on a Mac with iOS as the target, this ends up in the crate being built for macOS instead of iOS. * Add an end-to-end test to make sure building zstd for iOS works
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.