Skip to content

Docs are not optional / removable for MSVC nigtly toolchain #1170

Closed
@GabrielMajeri

Description

@GabrielMajeri

According to this old post, "Rust documentation is now optional and opt-in".

I am currently using rustup on Windows with the nightly-x86_64-msvc toolchain, and I am trying to opt-out of using the docs.

> rustup component remove rust-docs
error: component 'rust-docs' for target 'x86_64-pc-windows-msvc' is 
required for toolchain 'nightly-x86_64-pc-windows-msvc' and cannot be removed

Am I doing something wrong? Why are the docs required?

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