Open
Description
rustdoc
doesn't accept the full set of compiler options (in particular -C
), so it isn't possible to build doctests in the same way as crates, binaries and normal unit tests. The ideal would be to just allow the test source to be extracted (#43029), so that building the doctest is identical to other code.
Failing that, some systematic way of converting a rustc compiler command line to a rustdoc one for building doctests would be OK.
(Filed separately, the ability to just build a test without running it: #43030)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
No status