-
-
Notifications
You must be signed in to change notification settings - Fork 15k
rustdoc: support for the --nocapture feature of libtest #26309
Copy link
Copy link
Closed
Labels
C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.T-dev-toolsRelevant to the dev-tools subteam, which will review and decide on the PR/issue.Relevant to the dev-tools subteam, which will review and decide on the PR/issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.T-dev-toolsRelevant to the dev-tools subteam, which will review and decide on the PR/issue.Relevant to the dev-tools subteam, which will review and decide on the PR/issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Currently,
librustdocis diligently passing test arguments tolibtestvia--test-args, including--nocapture. However,librustdocinternally captures the output of doc-tests and doesn’t let it get through tolibtest. Consequently, the usage of--nocapturein this context is somewhat limited (when supplied it reveals compiler warnings, for instance) and doesn’t serve its main purpose. This behavior is inconsistent with the rest of the testing.Regards,
Ivan