mirror of
https://github.com/rust-lang/cargo
synced 2024-07-02 16:09:07 +00:00
Fix documenting with undocumented dependencies. #10201 introduced a bug where dependencies that have `doc=false` weren't being built at all when running `cargo doc` if the project did not have any binaries. That means the rmeta file was missing, and the `--extern` flag was not being passed to rustdoc. The solution is to ensure the `rmeta` file gets generated, but only skip generating the `CompileMode::Doc` unit for undocumented dependencies. This unblocks the bootstrap bump. |
||
---|---|---|
.. | ||
build-std | ||
testsuite | ||
internal.rs |