Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not list unavailable targets #1931

Merged
merged 2 commits into from
Jul 3, 2019

Commits on Jul 2, 2019

  1. Toolchain: Ensure we only list available components.

    Extensions might have a target other than that of the toolchain
    so this change ensures we use the extension's target not the target
    of the toolchain when determining if it's available.  This will as
    a result prevent `rustup target list` listing known but unavailable
    targets if `rust-std` is unavailable for that target.
    
    Signed-off-by: Daniel Silverstone <[email protected]>
    kinnison committed Jul 2, 2019
    Configuration menu
    Copy the full SHA
    8a118ca View commit details
    Browse the repository at this point in the history
  2. cli-v2: Test that unavailable targets are not listed

    Verify that targets which are not available are not listed
    when we look for targets in a toolchain.
    
    Signed-off-by: Daniel Silverstone <[email protected]>
    kinnison committed Jul 2, 2019
    Configuration menu
    Copy the full SHA
    82c92eb View commit details
    Browse the repository at this point in the history