rustdoc: add the ability to build a doctest executable without running it

b0a051d
Opened by Jeremy Fitzhardinge at 2024-08-29 22:59:29

For flexibility of integration with other testing frameworks/infrastructure, it would be nice if rustdoc had a mechanism to build doctest executables without running them, so that they can be later run within a separate test coordination framework.