windows-rs: Rust docs broken
Just leaving this issue here as a few people have asked. There are two separate issues.
The Windows crate docs are broken due to this rustc bug.
The generated documentation hasn’t been updated because cargo
hangs trying to build windows-docs-rs. I seem to have hit some kind of limit, but its not clear what’s wrong. rustc
allocates about 5 GB and then cargo
hangs inside git_refdb_backend_fs
. This happens reliably. Here’s a repro if you want to play along.
Running out of memory while the CPU idles is kind of sad. 😢 Here is stable/night/nightly-2021-03-16 running in parallel:
In all three cases, the hang happens here:
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 41 (6 by maintainers)
I haven’t graduated to that level of Rust ninja yet…
Thanks for all the help everyone!
Great, that should be a lot easier to bisect. The next step is to try and figure out if this is a rustc regression or a windows-rs regression. Does this work on beta? Does it work on 0.3.1 with the latest nightly?
If it’s a rustc regression, you can use https://github.com/rust-lang/cargo-bisect-rustc to find out where it broke. Otherwise I’d try git bisect to see if you can narrow it down somehow.
@jyn514 I have added basic Linux build support (#619):
https://github.com/microsoft/windows-rs/runs/2143667658
This excludes tests (for obvious reasons) but it should at least build the
windows
crate. Hope that helps.Fine! I’m going to get this project building on Linux. 😎