Skip to content

Add the ability to configure whether components are installed #298

Description

@alexcrichton

Two use cases:

  • It'd be nice to have the ability to either opt-out of rust-docs installation or opt-in to tracking it. I don't have much of a preference either way, but I personally at least don't use the component much so it'd be nice to download/copy less.
  • For MinGW toolchains I have MSYS installed and get weird errors sometimes when the rust-mingw component is installed because C code is sometimes compiled with my MSYS toolchain and then linked with rust-mingw's toolchain (causing errors).

Activity

  1. changed the title [-]Add the ability to configure whether components installed[/-] [+]Add the ability to configure whether components are installed[/+] on Apr 12, 2016
  2. brson commented on Apr 13, 2016

    @brson
    Contributor

    For rust-docs at least, we're just going to blanket convert it to an optional component, so it won't be installed by default.

    Maybe rust-mingw should also be converted to an optional component until we figure out something better to do with it.

  3. brson commented on Apr 13, 2016

    @brson
    Contributor

    Adding an ability to optionally install required components seems wrong.

  4. brson commented on Apr 13, 2016

    @brson
    Contributor

    This issue can be for a general rustup component subcommand, which we'll need before rust-docs can become optional.

  5. alexcrichton commented on Apr 13, 2016

    @alexcrichton
    MemberAuthor

    I'm fine leaving rust-mingw installed-by-default for now, I was just thinking that there's some way to opt out of installing it (which is persisted)

  6. brson commented on Apr 13, 2016

    @brson
    Contributor

    Maybe this speaks to a need for a new type of component, one that is not required but is installed by default. Though i'm still more inclined to relegate rust-mingw to the ndk layer.

  7. brson commented on Apr 13, 2016

    @brson
    Contributor

    (Or maybe we just don't have to be so strict about what "required" means and just allow people to mix and match components in ways that break).

  8. Diggsey commented on May 4, 2017

    @Diggsey
    Contributor

    Superceded by #905

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

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