Skip to content

1.41.0: extremely long compile times on some constants #68873

Closed
@antifuchs

Description

@antifuchs

This is a re-run of #67539: That bug seems to have gotten fixed on nightly, but seems to have missed the window for stable, or something?

Repro case: https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=ac61ec2c5bdd65e3f5d488e18e457530 - rustc will time out compiling this (run for more than 20 minutes, I haven't seen it finish in my lifetime).

Is this something that will/can be fixed by the next stable release? It's blocking some of my (otherwise perfectly valid) code from running in CI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions