Repository navigation
nested aux-build in tests/rustdoc/ tests - #128161
Conversation
|
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @compiler-errors (or someone else) some time within the next two weeks. Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (
|
|
Some changes occurred in src/tools/compiletest cc @jieyouxu |
This comment was marked as resolved.
This comment was marked as resolved.
This comment has been minimized.
This comment has been minimized.
|
This PR's history should be cleaned quite a lot, at least rebasing out all of the merge commits but also probably the useless commits that represent intermediate work states like "code from this morning". r? rustdoc |
44f18f6 to
dc024fe
Compare
This comment has been minimized.
This comment has been minimized.
|
Rebased the history! This is my first PR, so I'm just learning the ropes! |
There was a problem hiding this comment.
Thank you for including a negative test here! 👍
Those things aren't common enough, and they should be.
I'll try to take a look tomorrow for the compiletest changes. |
commented
Jul 29, 2024
|
☔ The latest upstream changes (presumably #125443) made this pull request unmergeable. Please resolve the merge conflicts. |
6516b64 to
f91da72
Compare
commented
Aug 1, 2024
|
@bors r=notriddle |
tests/rustdoc/tests. Before,fn documentand the auxiliary builder disagreed about where to find the nested aux-build source file (auxiliary/auxiliary/aux.rsvsauxiliary/aux.rs), preventing them from building. Picked the latter in line with other builders in compiletest.//@ doc-flagsheader, which forwards flags to rustdoc and not rustc.//@ unique-doc-out-dirheader, which sets the --out-dir for the rustdoc invocation to a unique directory:<root out dir>/docs/<test name>/docThese changes provide useful capabilities for writing rustdoc tests on their own. They are also needed to test the implementation for the mergable-rustdoc-cross-crate-info RFC.
try-job: x86_64-msvc