Skip to content

Cannot build compiler docs #42427

Closed
Closed
@mcarton

Description

@mcarton

It seems that building compiler docs is broken, in a fresh clone with:

% diff config.toml src/bootstrap/config.toml.example
106c106
< compiler-docs = true
---
> #compiler-docs = false

./x.py doc -j8 fails with:

error: requires `freeze` lang_item

error: Could not document `libc`.
Build failed, waiting for other jobs to finish...
error: build failed


command did not execute successfully: "/home/martin/programs/rust/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "doc" "-j" "8" "--target" "x86_64-unknown-linux-gnu" "--release" "--manifest-path" "/home/martin/programs/rust/src/libstd/Cargo.toml" "--features" "panic-unwind jemalloc backtrace"
expected success, got: exit code: 101


failed to run: /home/martin/programs/rust/build/bootstrap/debug/bootstrap doc -j8
Build completed unsuccessfully in 0:45:19

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions