mirror of
https://github.com/rust-lang/cargo
synced 2024-08-25 10:35:53 +00:00
![]() Support JSON with rustdoc. This allows `cargo doc --message-format=json` to actually work. Note that this explicitly does not attempt to support it for doctests for several reasons: - `rustdoc --test --error-format=json` does not work for some reason. - Since the lib is usually compiled before running rustdoc, warnings/errors will be emitted correctly by rustc. - I'm unaware of any errors/warnings `rustdoc --test` is capable of producing assuming the code passed `rustc`. - The compilation of the tests themselves do not support JSON. - libtest does not output json, so it's utility is limited. |
||
---|---|---|
.. | ||
testsuite |