Skip to content

rustc hangs for a few minutes since recent Rust toolchain upgrade #546

Description

@nazar-pc

Looks like something hangs in spirv backend (rustc process) for many minutes after #543
It eventually finishes, but it takes many minutes doing something with a single CPU core, which is really annoying.
I do not remember this happening before that PR.

I am reproducing it with https://github.com/nazar-pc/abundance/tree/fc99af154c34202e3623ff0c318ee70f01f2f24e/crates/farmer/ab-proof-of-space-gpu, both cargo build and cargo clippy are affected.

Didn't measure it accurately, but feels like 3-5 minutes, while previously it took less than one.

Activity

  1. LegNeato commented on Mar 14, 2026

    @LegNeato
    Collaborator

    I'll take a look, thanks!

  2. nazar-pc commented on Mar 17, 2026

    @nazar-pc
    ContributorAuthor

    I must say this particular issue became quite frustrating after just a few days of not even working with GPU code

  3. added 4 commits that reference this issue on Mar 18, 2026
    871c0fa
    f7b86e7
    2040e14
    6199f8f
  4. LegNeato commented on Mar 18, 2026

    @LegNeato
    Collaborator

    Please try #547.

  5. nazar-pc commented on Mar 18, 2026

    @nazar-pc
    ContributorAuthor

    #547 is definitely a lot better

  6. nazar-pc commented on Apr 11, 2026

    @nazar-pc
    ContributorAuthor

    Closing since #552 just merged

  7. Firestar99 commented on Apr 13, 2026

    @Firestar99
    Member

    (also, unrelatedly, that godbolt sample made me notice 1.94 -> 1.95-beta generates more unnecessary LLVM IR in some situations, and nightly still does, too)

    @eddyb at #558

    That could explain why this occured when we upgraded toolchain, and I assume 1.96 fixed it, which is why another toolchain upgrade fixed it.

  8. eddyb commented on Apr 13, 2026

    @eddyb
    Member

    That could explain why this occured when we upgraded toolchain, and I assume 1.96 fixed it, which is why another toolchain upgrade fixed it.

    The issue is still there on the latest nightly that godbolt has (rustc 1.96.0-nightly (02c7f9bec 2026-04-10)).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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