Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracking Issue for rustdoc --test-builder #102981

Open
ojeda opened this issue Oct 12, 2022 · 2 comments
Open

Tracking Issue for rustdoc --test-builder #102981

ojeda opened this issue Oct 12, 2022 · 2 comments
Labels
C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. S-tracking-perma-unstable Status: The feature will stay unstable indefinitely. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@ojeda
Copy link
Contributor

ojeda commented Oct 12, 2022

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

@GuillaumeGomez GuillaumeGomez added the T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. label Oct 12, 2022
@GuillaumeGomez
Copy link
Member

GuillaumeGomez commented Oct 12, 2022

I don't think it was intended for being stabilized.

@Mark-Simulacrum
Copy link
Member

That PR tried to make it unstable (see the call to unstable in lib.rs), so we should track down the gap or PR that stabilized it.

@dtolnay dtolnay changed the title rustdoc: Tracking Issue for --test-builder? Tracking Issue for rustdoc --test-builder Jan 23, 2023
@dtolnay dtolnay added C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. S-tracking-perma-unstable Status: The feature will stay unstable indefinitely. labels Jan 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. S-tracking-perma-unstable Status: The feature will stay unstable indefinitely. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

4 participants