Commit a5f77c5
committed
kbuild: rust: use shared host Rust flags for
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 <ojeda@kernel.org>macros
1 parent 6b2262f commit a5f77c5
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
386 | 386 | | |
387 | 387 | | |
388 | 388 | | |
389 | | - | |
| 389 | + | |
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
| |||
0 commit comments