Skip to content

Release build taking forever on 1.34.1 #60548

Closed
@fizyk20

Description

@fizyk20

I'm trying to build my crate at this commit: https://github.com/fizyk20/atm-refraction/tree/a7f38e582d507345f0f6bddbf769244caee0fe70

cargo build --release ran 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.C-bugCategory: This is a bug.E-needs-testCall 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.P-lowLow priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions