Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pw_rust: Allow override proc_macro toolchain
Prefer toolchain from `rustc_macro_toolchain_name` even if the current toolchain is a host toolchain. It is useful for x86 32 bits targets. proc_macro compiled with i686 target cannot work with 64bits rustc. Issue can be solved by setting proc_macro toolchain to 64bits for 32bits host toolchain. Test: Cross compiling for QEMU target works Change-Id: I40cac9ee00f239fe891c63a84859cc7398be5564 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/255392 Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com> Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com> Pigweed-Auto-Submit: Jiacheng Lu <lujc@google.com> Docs-Not-Needed: Jiacheng Lu <lujc@google.com> Reviewed-by: Erik Gilling <konkers@google.com> Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>
- Loading branch information