rustdoc: it would be nice to have a way to extract the doctest source without building it #43029
Labels
A-doctests
Area: Documentation tests, run by rustdoc
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
It would be nice to have a way to extract the doctest sources into a file without compiling or running the test. I would like to integrate doctests into our current build system, and it looks like that would be easiest if I could extract the doc tests as source, then just build them as normal unit tests.
The text was updated successfully, but these errors were encountered: