Skip to content

rustdoc: Tracking issue for command-line flag --test-builder #102981

@ojeda

Description

@ojeda

FIXME: Write a proper synopsis.

Original description

The flag was added in the second commit of #64328, but I couldn't find a tracking issue (like #87022 for --no-run).

Is it meant to be stabilized?

  • If yes: please feel free to reuse this as the tracking issue like in the --no-run one.
  • If not: we are currently using it (together with --no-run) in the kernel to extract the source code of the tests, i.e. to achieve something similar to --persist-doctests, but for source code; or like --scrape-examples, but for doctests. Would there be a better/stable way to do that?

In the PR above [@]Mark-Simulacrum mentions:

This is largely intended for "advanced" users at this point (I'm not sure if we'll ever stabilize it)

[@]GuillaumeGomez

About tracking issues

Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.

Implementation history

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-CLIArea: Command-line interface (CLI) to the compilerA-doctestsArea: Documentation tests, run by rustdocB-unstableBlocker: Implemented in the nightly compiler and unstable.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCS-tracking-perma-unstableStatus: The feature will stay unstable indefinitely.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions