Skip to content

rustdoc: minimal stable urls - #163740

Draft
notriddle wants to merge 2 commits into
rust-lang:mainfrom
notriddle:rustdoc/minimal-stable-urls
Draft

notriddle wants to merge 2 commits into
rust-lang:mainfrom
notriddle:rustdoc/minimal-stable-urls

Conversation

@notriddle

Copy link
Copy Markdown
Contributor

@rustbot rustbot added A-rustdoc-js Area: Rustdoc's JS front-end A-rustdoc-search Area: Rustdoc's search feature S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output. labels Oct 4, 2026
@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

The job test-aarch64-gnu-llvm-22-2 failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
##[endgroup]
[TIMING:end] tool::ToolBuild { build_compiler: Compiler { stage: 0, host: aarch64-unknown-linux-gnu, forced_compiler: false }, target: aarch64-unknown-linux-gnu, tool: "linkchecker", path: "src/tools/linkchecker", mode: ToolBootstrap, source_type: InTree, extra_features: [], allow_features: "", cargo_args: [], artifact_kind: Binary } -- 0.094
[TIMING:end] tool::Linkchecker { compiler: Compiler { stage: 0, host: aarch64-unknown-linux-gnu, forced_compiler: false }, target: aarch64-unknown-linux-gnu } -- 0.000
##[group]Testing stage1 Linkcheck (aarch64-unknown-linux-gnu)
core/io/type.IoSliceMut.html:70: broken link fragment `#method.to_ascii_uppercase` pointing to `core/io/type.IoSliceMut.html`
core/io/type.IoSliceMut.html:75: broken link fragment `#method.to_ascii_lowercase` pointing to `core/io/type.IoSliceMut.html`
core/io/type.IoSliceMut.html:1437: broken link - `core/io/slice::sort_by_key`
core/io/type.IoSlice.html:940: broken link - `core/io/slice::sort_by_key`
core/bstr/type.ByteStr.html:53: broken link fragment `#method.to_ascii_uppercase` pointing to `core/bstr/type.ByteStr.html`
core/bstr/type.ByteStr.html:58: broken link fragment `#method.to_ascii_lowercase` pointing to `core/bstr/type.ByteStr.html`
core/bstr/type.ByteStr.html:1420: broken link - `core/bstr/slice::sort_by_key`
core/range/legacy/type.RangeInclusive.html:350: broken intra-doc link - [<code>begin</code>, <code>end</code>]
core/ops/type.RangeInclusive.html:350: broken intra-doc link - [<code>begin</code>, <code>end</code>]
std/collections/btree_set/type.BTreeSet.html:281: broken link fragment `#insert-and-complex-keys` pointing to `std/collections/btree_set/index.html`
std/collections/btree_map/type.BTreeMap.html:308: broken link fragment `#insert-and-complex-keys` pointing to `std/collections/btree_map/index.html`
std/range/legacy/type.RangeInclusive.html:381: broken intra-doc link - [<code>begin</code>, <code>end</code>]
std/ops/type.RangeInclusive.html:381: broken intra-doc link - [<code>begin</code>, <code>end</code>]
alloc/io/type.IoSliceMut.html:171: broken link fragment `#method.sort_by_key` pointing to `core/primitive.slice.html`
alloc/io/type.IoSliceMut.html:1633: broken link fragment `#method.sort_by_key` pointing to `core/primitive.slice.html`
alloc/io/type.IoSlice.html:990: broken link fragment `#method.sort_by_key` pointing to `core/primitive.slice.html`
alloc/collections/btree_set/type.BTreeSet.html:279: broken link fragment `#insert-and-complex-keys` pointing to `alloc/collections/btree_set/index.html`
alloc/collections/btree_map/type.BTreeMap.html:305: broken link fragment `#insert-and-complex-keys` pointing to `alloc/collections/btree_map/index.html`
alloc/bstr/type.ByteString.html:1003: broken link fragment `#method.sort_by_key` pointing to `core/primitive.slice.html`
alloc/bstr/type.ByteString.html:2368: broken link fragment `#method.sort_by_key` pointing to `core/primitive.slice.html`
alloc/bstr/type.ByteStr.html:162: broken link fragment `#method.sort_by_key` pointing to `core/primitive.slice.html`
alloc/bstr/type.ByteStr.html:1624: broken link fragment `#method.sort_by_key` pointing to `core/primitive.slice.html`
alloc/vec/type.Vec.html:1844: broken link fragment `#method.sort_by_key` pointing to `core/primitive.slice.html`
alloc/vec/type.Vec.html:3209: broken link fragment `#method.sort_by_key` pointing to `core/primitive.slice.html`
checked links in: 24.2s
number of HTML files scanned: 64702
number of HTML redirects found: 24363
number of links checked: 3006592
number of links ignored due to external: 187200
number of links ignored due to exceptions: 11
number of intra doc links ignored: 5
errors found: 24
found some broken links
NOTE: if you are adding or renaming a markdown file in a mdBook, don't forget to register the page in SUMMARY.md
Bootstrap failed while executing `--stage 2 test --skip tidy --skip tests --skip library --skip tidyselftest`
Currently active steps:
test::Linkcheck { host: aarch64-unknown-linux-gnu } at src/bootstrap/src/core/build_steps/test.rs:161
Command `/checkout/obj/build/aarch64-unknown-linux-gnu/stage1-tools-bin/linkchecker /checkout/obj/build/aarch64-unknown-linux-gnu/doc` failed with exit code 1
Created at: src/bootstrap/src/core/build_steps/tool.rs:1627:23
Executed at: src/bootstrap/src/core/build_steps/test.rs:224:77

Command has failed. Rerun with -v to see more details.
Build completed unsuccessfully in 0:35:53
  local time: Sun Oct  4 06:29:25 UTC 2026
  network time: Sun, 04 Oct 2026 06:29:25 GMT
##[error]Process completed with exit code 1.
##[group]Run echo "disk usage:"

@rust-bors

rust-bors Bot commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

☔ The latest upstream changes (presumably #163735) made this pull request unmergeable. Please resolve the merge conflicts by rebasing.

@mejrs

mejrs commented Oct 5, 2026

Copy link
Copy Markdown
Member

Can foreign types be included in this?

For example: https://doc.rust-lang.org/nightly/std/ops/foreigntype.Code.html

IIRC there are types we'd like to turn into foreign types at some point, like c_void for example.

This branch has not been deployed

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

Labels

A-rustdoc-js Area: Rustdoc's JS front-end A-rustdoc-search Area: Rustdoc's search feature S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants