rust/tests/run-make/rustdoc-default-output
Jynn Nelson 29f31f1662 rustdoc: Add unstable --merge-doctests=yes/no/auto flag
This is useful for changing the *default* for whether doctests are
merged or not. Currently, that default is solely controlled by
`edition = 2024`, which adds a high switching cost to get doctest
merging. This flag allows opt-ing in even on earlier additions.

Unlike the `edition = 2024` default, `--merge-doctests=yes` gives a hard
error if merging fails instead of falling back to running standalone
tests. The user has explicitly said they want merging, so we shouldn't
silently do something else.

`--merge-doctests=auto` is equivalent to the current 2024 edition
behavior, but available on earlier editions.
2025-12-03 15:48:05 -05:00
..
output-default.stdout rustdoc: Add unstable --merge-doctests=yes/no/auto flag 2025-12-03 15:48:05 -05:00
rmake.rs Adjust some run-make tests on cross-compile 2025-06-19 07:38:01 +08:00