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
kbuild: rust: use shared host Rust flags for macros
Proc macros run in the host, so apply those flags for them instead of
just the common ones.
In practice, this currently adds:
-O -Cstrip=debuginfo -Zallow-features=
and, if enabled, `-Dwarnings` too (i.e. `CONFIG_WERROR`) -- the `macros`
crate should be (and currently is) warning-free, so applying this to it
ensures it is kept that way.
Signed-off-by: Miguel Ojeda <[email protected]>
0 commit comments