Implement "merged doctests" to save doctest time

Metadata
Point of contactGuillaume Gomez
Teamsrustdoc
StatusAccepted
Tracking issuerust-lang/rust-project-goals#111

Guillaume Gomez: https://github.com/GuillaumeGomez

Motivation

Most of the time in doctests is spent in compilation. Merging doctests and compiling them together allows to greatly reduce the overall amount of time.

The status quo

The next six months

  • Finish reviewing the pull request
  • Run crater with the feature enabled by default.
  • Merge it.

The "shiny future" we are working towards

Merged doctests.

Design axioms

N/A

Ownership and team asks

Owner: Guillaume Gomez

TaskOwner(s) or team(s)Notes
ImplementationGuillaume Gomez
Standard reviewsTeam rustdoc

Frequently asked questions

None yet.