Skip to content

rustbuild builds docs for too many crates #38319

Closed
@ollie27

Description

@ollie27

The Makefiles only build the docs for:

std
alloc
collections
core
libc
rustc_unicode

I assume alloc, collections and rustc_unicode are included mostly so the src links in std work. I'm not sure why libc is included though...

Anyway, with rustbuild it builds all of these:

core
compiler_builtins
rand
libc
rustc_unicode
alloc
unwind
panic_abort
alloc_system
panic_unwind
collections
std
std_shim

getopts
term
test
test_shim

Most of these are implementation details of std so shouldn't be included. The test docs are a big problem because of the same issue as #34800, generating them means the search index will get overridden.

Metadata

Metadata

Assignees

Labels

P-highHigh priorityT-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)regression-from-stable-to-betaPerformance or correctness regression from stable to beta.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions