Skip to content

Use rustdoc to test examples on the wiki #3564

New issue

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

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

Already on GitHub? # to your account

Closed
brson opened this issue Sep 23, 2012 · 2 comments
Closed

Use rustdoc to test examples on the wiki #3564

brson opened this issue Sep 23, 2012 · 2 comments
Labels
T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@brson
Copy link
Contributor

brson commented Sep 23, 2012

We can use our evolving documentation-testing scripts to test examples on the wiki as well.

Depends on #3546

@ghost ghost assigned z0w0 May 21, 2013
@pnkfelix
Copy link
Member

probably a subbug of #5413.

I vaguely recall some discussion of this idea or something like it (at least in terms of whether it would be a rathole). Is the main point that rustdoc would automatically mark the wiki examples as being compilable and/or runnable with a particular rust version?

I guess as long as it does not burden the common case users of the tool; e.g. a random developer who does not ask rustdoc to specifically do the wiki traversal should not be inundated with warnings/errors about examples on the wiki.

@emberian
Copy link
Member

This doesn't make sense for rustdoc to do at all. Closing. (@brson reopen if you feel otherwise)

@brson brson unassigned z0w0 Jun 16, 2014
RalfJung pushed a commit to RalfJung/rust that referenced this issue May 5, 2024
pthread shims: reorganize field offset handling, and add sanity checks
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
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