LTO may hang forever #58674
Labels
C-bug
Category: This is a bug.
I-hang
Issue: The compiler never terminates, due to infinite loops, deadlock, livelock, etc.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
After quite a bit of troubleshooting it seems
cargo build --release
broke for one of my projects due to the size of the codebase.kpcyrd/sn0int#77
According to the debug log this is related to lto:
It seems I could confirm this because this command works:
This issue has been reproduced with:
I couldn't find a way to make this the default though, adding this to my
Cargo.toml
didn't work:Steps to reproduce
The text was updated successfully, but these errors were encountered: