Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pw_build: Add mod proc_macro to rust macro targets
Gnaw which translates Cargo.toml to GN does not reads the `lib` section in Cargo manifest. Some crates puts `proc_macro` in `lib` and does not specify `use proc_macro` in the source. This change is a workaround for building those crates. Change-Id: I1cec9b076931e5175068781cfd3e9c1aefa2f86c Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/230013 Commit-Queue: Jiacheng Lu <[email protected]> Reviewed-by: Erik Gilling <[email protected]> Lint: Lint 🤖 <[email protected]>
- Loading branch information