-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-crossArea: Cross compilationArea: Cross compilationA-doctestsArea: Documentation tests, run by rustdocArea: Documentation tests, run by rustdocB-unstableBlocker: Implemented in the nightly compiler and unstable.Blocker: Implemented in the nightly compiler and unstable.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-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.requires-nightlyThis issue requires a nightly compiler in some way.This issue requires a nightly compiler in some way.
Description
This is an issue to track the functionality added by PR#60387, and also by extension this PR in cargo.
PR#60387 adds three options to rustdoc:
--enable-per-target-ignores
which adds a compiletest-like mechanism for ignoring platform on a substring basis (egignore-foo
)--runtool
and--runtool-arg
for specifying an external program and its arguments, to which the compiled doctest binary will be passed as the final argument
The companion PR adds a flag to cargo for enabling this feature as well as cross-compiling doctests and parsing runtool tokens from a .cargo/config
.
Eventually another PR for x.py
can either enable this unconditionally or add a flag for testing the extensive documentation in the standard library on other platforms.
This solves cargo issue #6460
celinval
Metadata
Metadata
Assignees
Labels
A-crossArea: Cross compilationArea: Cross compilationA-doctestsArea: Documentation tests, run by rustdocArea: Documentation tests, run by rustdocB-unstableBlocker: Implemented in the nightly compiler and unstable.Blocker: Implemented in the nightly compiler and unstable.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-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.requires-nightlyThis issue requires a nightly compiler in some way.This issue requires a nightly compiler in some way.
Type
Projects
Status
Done