-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Add --nocapture option to rustdoc #86230
Conversation
This comment has been minimized.
This comment has been minimized.
6e57d4b
to
e329fcf
Compare
This comment has been minimized.
This comment has been minimized.
2a895a9
to
8f37814
Compare
8f37814
to
d53a137
Compare
d53a137
to
77711a9
Compare
CI passed. Once this PR is merged, I'll send one to cargo. |
Should this PR be marked as closing #45724 as well? |
Also, it might be a good idea to test this code against the test case in #55813 to see if it fixes it. |
I would also appreciate if you could explain to me a bit the difference between this new flag and |
cc @ehuss - I don't know who owns libtest, but I've seen you reviewing a couple PRs, hopefully you have some input :) |
I don't have any particular say in libtest. The libs team owns it, but in general nobody focuses on it. I'd just echo @camelid's comments. I didn't look closely, but this seems strange that it is still capturing the output. I think the spirit of the |
📌 Commit f9f6083 has been approved by |
Shouldn't we have a way to pass through all these options to libtest? I wonder if it makes more sense to instead support a |
|
Add --nocapture option to rustdoc Fixes rust-lang#26309. Fixes rust-lang#45724. Once this PR is merged, I'll send a PR to cargo to also pass `--nocapture` to rustdoc. cc `@jyn514` r? `@camelid`
Failed in rollup: #87232 (comment) |
f9f6083
to
d5e3294
Compare
Failure came from the fact that I only "standardized" the stdout and not the stderr... |
@bors: r=camelid |
📌 Commit d5e3294 has been approved by |
…laumeGomez Rollup of 8 pull requests Successful merges: - rust-lang#86230 (Add --nocapture option to rustdoc) - rust-lang#87210 (Rustdoc accessibility: make the sidebar headers actual headers) - rust-lang#87227 (Move asm! and global_asm! to core::arch) - rust-lang#87236 (Simplify command-line argument initialization on unix) - rust-lang#87251 (Fix "item info" width) - rust-lang#87256 (Extend HIR-based WF checking to associated type defaults) - rust-lang#87259 (triagebot shortcut config) - rust-lang#87268 (Don't create references to uninitialized data in `List::from_arena`) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
The 2 above tickets have been automatically closed but if I understand correctly, there is still a missing piece in |
The work is done here so it's ok for them to be closed. I'm working on the cargo fix. |
Fixes #26309.
Fixes #45724.
Once this PR is merged, I'll send a PR to cargo to also pass
--nocapture
to rustdoc.cc @jyn514
r? @camelid