forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
disable LTO on proc-macro crates when cross compiling
When cross-compiling with LTO=thin/fat, Cargo invokes rustc with LTO enabled even for proc-macro crates, which causes compilation to fail. See rust-lang#110296 for more information. Signed-off-by: onur-ozkan <[email protected]>
- Loading branch information
1 parent
af78bae
commit 524d847
Showing
1 changed file
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters