Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign uprustdoc: separate test collection from the main "clean"-ing pipeline. #37890
Conversation
rust-highfive
assigned
steveklabnik
Nov 20, 2016
This comment has been minimized.
This comment has been minimized.
|
(rust_highfive has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Huge |
This comment has been minimized.
This comment has been minimized.
|
r? @nrc cc @rust-lang/tools |
rust-highfive
assigned
nrc
and unassigned
steveklabnik
Nov 20, 2016
This comment has been minimized.
This comment has been minimized.
|
Sounds like a good change to me, there's tons of technical debt in rustdoc to be shed at this point |
This comment has been minimized.
This comment has been minimized.
|
@bors: r+ |
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
bors
added a commit
that referenced
this pull request
Nov 21, 2016
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
|
This comment has been minimized.
This comment has been minimized.
|
@alexcrichton Should the PR Travis builds include cargotest? |
This comment has been minimized.
This comment has been minimized.
|
@eddyb yeah once we start gating on travis I'd like to look into PR test coverage |
eddyb
force-pushed the
eddyb:rustdoc-1
branch
from
60aa513
to
e7264d0
Nov 23, 2016
This comment has been minimized.
This comment has been minimized.
|
@bors r=nrc |
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
bors
added a commit
that referenced
this pull request
Nov 23, 2016
This comment has been minimized.
This comment has been minimized.
|
|
eddyb
force-pushed the
eddyb:rustdoc-1
branch
3 times, most recently
from
084a3c9
to
1c5a529
Nov 23, 2016
eddyb
added some commits
Nov 23, 2016
eddyb
force-pushed the
eddyb:rustdoc-1
branch
from
1c5a529
to
4be7786
Nov 23, 2016
This comment has been minimized.
This comment has been minimized.
|
Travis passed but the OSX builds are broken. @bors r=nrc |
This comment has been minimized.
This comment has been minimized.
|
|
eddyb commentedNov 20, 2016
While reusing the documentation "clean"-ing infrastructure for collecting code examples to test may have seemed appealing at some point, doing the same through a HIR visitor is barely any harder.
At the same time, supporting both "regular documentation" and "test collection" modes in
rustdoc::cleanhas its cost, requiring any use of aTyCtxtto be speculative, and provide some sort of fallback.This simplification is the first step towards bringing rustdoc closer to the compiler, and perhaps even unifying the "local crate" (based on the HIR AST) and "inlinined across crates" (based on crate metadata and typesystem information) implementations of rustdoc.
Sadly, not all possible changes to rustdoc will be uncontroversial, so I'm starting small with this patch.