Commit Graph

5 Commits

Author SHA1 Message Date
Weihang Lo
c5dd32e483 fix(rustdoc): match rustc --emit precedence
Change rustdoc's `--emit` to allow only one instance of each type,
regardless of the actual data that `--emit` carries.
This matches rustc's `--emit` behavior.

As of the writing, only `dep-info` emit type carries extra data.

See <https://github.com/rust-lang/rust/issues/141664>
2025-09-03 00:06:44 -07:00
Weihang Lo
43873db3b3 test(rustdoc): show the wrong --emit precedence
It should have the same behavior as rustc, which the last wins.
2025-09-02 18:30:20 -04:00
Noratrieb
327ee15959 Ensure external paths passed via flags end up in rustdoc depinfo
rustdoc has many flags to pass external HTML/Markdown/CSS files that end
up in the build. These need to be recorded in depinfo so that Cargo will
rebuild the crate if they change.
2025-07-28 20:53:01 +02:00
Jieyou Xu
2beccc4d8e Adjust some run-make tests on cross-compile 2025-06-19 07:38:01 +08:00
Guillaume Gomez
b97310c449 Add run-make test for rustdoc --emit=dep-info option 2025-02-26 20:36:23 +01:00