Skip to content

Installing a major.minor channel includes documentation even when profile is minimal #2593

Closed
@shepmaster

Description

@shepmaster

Problem

Since I have set my profile to minimal, I expect that rust-docs will not be installed, but it is.

Steps

% rustup set profile minimal
info: profile set to 'minimal'

% rustup toolchain install 1.30
info: syncing channel updates for '1.30-x86_64-apple-darwin'
info: latest update on 2018-11-08, rust version 1.30.1 (1433507eb 2018-11-07)
info: downloading component 'cargo'
info: downloading component 'rust-docs'
info: downloading component 'rust-std'
info: downloading component 'rustc'
info: installing component 'cargo'
info: installing component 'rust-docs'
info: installing component 'rust-std'
info: installing component 'rustc'

Notes

Output of rustup --version:

% rustup --version
rustup 1.23.1 (3df2264a9 2020-11-30)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `rustc 1.48.0 (7eac88abb 2020-11-16)`

Output of rustup show:

% rustup show
Default host: x86_64-apple-darwin
rustup home:  /Users/shep/.rustup

installed toolchains
--------------------

stable-x86_64-apple-darwin
beta-x86_64-apple-darwin
nightly-2020-11-14-x86_64-apple-darwin
nightly-x86_64-apple-darwin (default)
1.30-x86_64-apple-darwin
1.40-x86_64-apple-darwin

installed targets for active toolchain
--------------------------------------

thumbv6m-none-eabi
wasm32-unknown-unknown
x86_64-apple-darwin

active toolchain
----------------

stable-x86_64-apple-darwin (directory override for '/private/tmp')
rustc 1.48.0 (7eac88abb 2020-11-16)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions