You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[feat] Add a build setting to announce crate scope
This build setting is not used internally, but provides a way for
dependencies to be aware that they are being compiled for a rust crate.
Examples of complex scenarios allowed by this change:
1. Build with a mac-x86_64 toolchain on mac-aarch64 platforms (rosetta)
- everything (including host tools) is compiled for aarch64 while
proc_macros must be compiled for x86_64.
2. A `cc_library` linked to both a `cc_binary` and a `rust_binary`, but
needs slightly different build flags when used for rust crates.
0 commit comments