Commit 30f0d90
committed
rust: procedural macros do not support LTO
Attempting to use LTO on a procedural macro crate fails with
error: lto cannot be used for proc-macro crate type without -Zdylib-lto
Automatically override -Db_lto in the rust.proc_macro method.
Signed-off-by: Paolo Bonzini <[email protected]>1 parent 054fd1e commit 30f0d90
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
497 | 497 | | |
498 | 498 | | |
499 | 499 | | |
| 500 | + | |
| 501 | + | |
500 | 502 | | |
501 | 503 | | |
502 | 504 | | |
| |||
0 commit comments