Skip to content

rustdoc: error out on --test with --emit#153895

Merged
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
notriddle:no-emit-test
Mar 15, 2026
Merged

rustdoc: error out on --test with --emit#153895
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
notriddle:no-emit-test

Conversation

@notriddle

Copy link
Copy Markdown
Contributor

These options don't behave reasonably when combined right now, and there are no tests and no docs for how they should.

For the short term, make this a fatal error. If we decide to assign this some semantics, then we can do that at any time.

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Mar 15, 2026
@rustbot

rustbot commented Mar 15, 2026

Copy link
Copy Markdown
Collaborator

r? @fmease

rustbot has assigned @fmease.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: rustdoc
  • rustdoc expanded to 9 candidates
  • Random selection from GuillaumeGomez, camelid, fmease, lolbinarycat

These options don't behave reasonably when combined right now, and there
are no tests and no docs for how they should.

For the short term, make this a fatal error. If we decide to assign this
some semantics, then we can do that at any time.

@fmease fmease left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rust-bors

rust-bors Bot commented Mar 15, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 77eea39 has been approved by fmease

It is now in the queue for this repository.

@rust-bors rust-bors Bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Mar 15, 2026
@rust-bors

This comment has been minimized.

@rust-bors rust-bors Bot added merged-by-bors This PR was explicitly merged by bors. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Mar 15, 2026
@rust-bors

rust-bors Bot commented Mar 15, 2026

Copy link
Copy Markdown
Contributor

☀️ Test successful - CI
Approved by: fmease
Duration: 3h 8m 12s
Pushing e0a8361 to main...

@rust-bors rust-bors Bot merged commit e0a8361 into rust-lang:main Mar 15, 2026
12 checks passed
@rustbot rustbot added this to the 1.96.0 milestone Mar 15, 2026
@github-actions

Copy link
Copy Markdown
Contributor
What is this? This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.

Comparing 9f0615c (parent) -> e0a8361 (this PR)

Test differences

Show 2 test diffs

Stage 1

  • [ui] tests/rustdoc-ui/doctest/emit-test.rs: [missing] -> pass (J0)

Stage 2

  • [ui] tests/rustdoc-ui/doctest/emit-test.rs: [missing] -> pass (J1)

Job group index

Test dashboard

Run

cargo run --manifest-path src/ci/citool/Cargo.toml -- \
    test-dashboard e0a8361373c88bd791b5b1335c6cbf83cd68e4d5 --output-dir test-dashboard

And then open test-dashboard/index.html in your browser to see an overview of all executed tests.

Job duration changes

  1. dist-aarch64-apple: 2h -> 1h 35m (-20.7%)
  2. aarch64-apple: 3h 18m -> 2h 38m (-20.4%)
  3. dist-aarch64-llvm-mingw: 1h 25m -> 1h 42m (+19.9%)
  4. test-various: 1h 52m -> 2h 14m (+19.6%)
  5. dist-apple-various: 1h 48m -> 1h 30m (-16.6%)
  6. x86_64-mingw-1: 3h 6m -> 2h 41m (-13.0%)
  7. x86_64-msvc-ext3: 1h 40m -> 1h 50m (+10.4%)
  8. x86_64-gnu-distcheck: 2h 24m -> 2h 10m (-10.1%)
  9. dist-x86_64-mingw: 2h 29m -> 2h 43m (+9.2%)
  10. dist-x86_64-apple: 1h 49m -> 1h 59m (+9.0%)
How to interpret the job duration changes?

Job durations can vary a lot, based on the actual runner instance
that executed the job, system noise, invalidated caches, etc. The table above is provided
mostly for t-infra members, for simpler debugging of potential CI slow-downs.

@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (e0a8361): comparison URL.

Overall result: no relevant changes - no action needed

@rustbot label: -perf-regression

Instruction count

This benchmark run did not return any relevant results for this metric.

Max RSS (memory usage)

Results (secondary -2.2%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-2.2% [-2.2%, -2.2%] 1
All ❌✅ (primary) - - 0

Cycles

Results (secondary 0.1%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
3.2% [3.2%, 3.2%] 1
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-3.1% [-3.1%, -3.1%] 1
All ❌✅ (primary) - - 0

Binary size

This benchmark run did not return any relevant results for this metric.

Bootstrap: 484.991s -> 480.839s (-0.86%)
Artifact size: 396.79 MiB -> 396.90 MiB (0.03%)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged-by-bors This PR was explicitly merged by bors. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants