mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 09:13:07 +03:00
b397b6b5b7
feat(rustdoc): `--emit=depinfo` output to stdout via `-` rustdoc's `--emit=depinfo` flag now supports using `-` to write the output to stdout, aligning with rustc's behavior. This will fix <https://github.com/rust-lang/rust/issues/147649>. ### How to review * The first commit demonstrates that `rustdoc --emit=depinfo=-` hasn't yet supported emitting to stdout. * The second implements it and the diff shows how the behavior changes.