-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Release build taking forever on 1.34.1 #60548
Copy link
Copy link
Closed
Labels
A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.C-bugCategory: This is a bug.Category: This is a bug.E-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.Call for participation: An issue has been fixed and does not reproduce, but no test has been added.I-hangIssue: The compiler never terminates, due to infinite loops, deadlock, livelock, etc.Issue: The compiler never terminates, due to infinite loops, deadlock, livelock, etc.P-lowLow priorityLow priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.C-bugCategory: This is a bug.Category: This is a bug.E-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.Call for participation: An issue has been fixed and does not reproduce, but no test has been added.I-hangIssue: The compiler never terminates, due to infinite loops, deadlock, livelock, etc.Issue: The compiler never terminates, due to infinite loops, deadlock, livelock, etc.P-lowLow priorityLow priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
I'm trying to build my crate at this commit: https://github.com/fizyk20/atm-refraction/tree/a7f38e582d507345f0f6bddbf769244caee0fe70
cargo build --releaseran on Rust 1.34.1 doesn't finish for at least a few minutes (I admit I haven't been too patient with letting it run for a long time, as I knew it used to compile quite quickly, but I can safely say that it wasn't able to finish for me in at least 5 minutes). A debug build (cargo build) finishes in about 15 seconds.I checked on another Rust version to make sure that it's different, and indeed, compilation of the same commit on 1.31.0 in release mode takes 24 seconds. Nightly 1.36.0 2019-05-03 can't finish just like 1.34.1.
I haven't tried versions other than 1.31.0, 1.34.1 and 1.36.0 nightly so far, but I can do so if needed.
I'm on Gentoo Linux on x86_64. All tested Rust versions installed via
rustup.If any other information is required, please let me know.