Uh oh!
There was an error while loading. Please reload this page.
rustdoc rfc#3662 changes under unstable flags - #129337
Conversation
rustbot
commented
Aug 20, 2024
r? @notriddle rustbot has assigned @notriddle. Use |
This comment has been minimized.
This comment has been minimized.
rustbot
commented
Aug 21, 2024
This PR modifies cc @jieyouxu |
Just updated |
96a1453 to
cb044c6Comparebors
commented
Aug 30, 2024
☔ The latest upstream changes (presumably #129750) made this pull request unmergeable. Please resolve the merge conflicts. |
notriddle
left a comment
There was a problem hiding this comment.
This code basically looks fine. I have no complaints about merging it as-is.
However, it would be a good idea to add a guide to the rustdoc book. That can be done after merging this.
notriddle
commented
Sep 7, 2024
Also, the merge conflicts need fixed. |
The `librustdoc::config::Options` struct no longer includes `rustc_session::config::Input`. This is so that Input can be optional. In rfc#3662, the crate input is not required if `--merge=finalize`. Replacing Input with Option<Input> was decided against. In most places that Input is needed, it should be statically known to not be optional (means fewer unwraps). We just want to have an Input-free Options in librustdoc::main_args, where we can run the write shared procedure.
* All new functionality is under unstable options * Adds `--merge=shared|none|finalize` flags * Adds `--parts-out-dir=<crate specific directory>` for `--merge=none` to write cross-crate info file for a single crate * Adds `--include-parts-dir=<previously specified directory>` for `--merge=finalize` to write cross-crate info files * update tests/run-make/rustdoc-default-output/rmake.rs golden
* Adds tests for the behavior from rfc#3662 in `tests/rustdoc/`
notriddle
commented
Sep 8, 2024
@bors r+ |
bors
commented
Sep 8, 2024
rustdoc rfc#3662 changes under unstable flags * All new functionality is under unstable options * Adds `--merge=shared|none|finalize` flags * Adds `--parts-out-dir=<crate specific directory>` for `--merge=none` to write cross-crate info file for a single crate * Adds `--include-parts-dir=<previously specified directory>` for `--merge=finalize` to write cross-crate info files * `tests/rustdoc/` tests for the new flags
…iaskrgr Rollup of 7 pull requests Successful merges: - rust-lang#129337 (rustdoc rfc#3662 changes under unstable flags) - rust-lang#129473 (use `download-ci-llvm=true` in the default compiler config) - rust-lang#129529 (Add test to build crates used by r-a on stable) - rust-lang#130025 (Also emit `missing_docs` lint with `--test` to fulfil expectations) - rust-lang#130070 (Rename variant `AddrOfRegion` of `RegionVariableOrigin` to `BorrowRegion`) - rust-lang#130087 (remove 'const' from 'Option::iter') - rust-lang#130092 (Fixes typo in wasm32-wasip2 doc comment) r? `@ghost` `@rustbot` modify labels: rollup
matthiaskrgr
commented
Sep 8, 2024
mmh looks like this is caused by something else.. |
bors
commented
Sep 8, 2024
rustdoc rfc#3662 changes under unstable flags * All new functionality is under unstable options * Adds `--merge=shared|none|finalize` flags * Adds `--parts-out-dir=<crate specific directory>` for `--merge=none` to write cross-crate info file for a single crate * Adds `--include-parts-dir=<previously specified directory>` for `--merge=finalize` to write cross-crate info files * `tests/rustdoc/` tests for the new flags
notriddle
commented
Sep 10, 2024
@bors r+ |
bors
commented
Sep 10, 2024
💡 This pull request was already approved, no need to approve it again.
|
bors
commented
Sep 10, 2024
bors
commented
Sep 10, 2024
bors
commented
Sep 10, 2024
☀️ Test successful - checks-actions |
rust-timer
commented
Sep 10, 2024
Finished benchmarking commit (f827364): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)Results (secondary 3.3%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResults (secondary 1.3%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 760.197s -> 755.942s (-0.56%) |
--merge=shared|none|finalizeflags--parts-out-dir=<crate specific directory>for--merge=noneto write cross-crate info file for a single crate
--include-parts-dir=<previously specified directory>for--merge=finalizeto write cross-crate info filestests/rustdoc/tests for the new flags