rustdoc: synthetic blanket impls: hang / very long compiletimes with complex mutually recursive structs involving many projections · Issue #114891 · rust-lang/rust (original) (raw)

Problem

When I run cargo doc, it never terminates. Instead, it uses 100% of a CPU indefinitely.

Steps

  1. git clone https://github.com/gents83/wgpu.git
  2. cd wgpu
  3. git checkout 91d872e1
  4. cargo +nightly doc -p wgpu-core

That final command never seems to exit.

Notes

I'm running Fedora 38 and cargo 1.73.0-nightly (7c3904d6c 2023-08-14).