Skip to content
This repository was archived by the owner on Dec 8, 2020. It is now read-only.

Make cargo use rustup #276

Merged
merged 2 commits into from
Jun 19, 2017
Merged

Make cargo use rustup #276

merged 2 commits into from
Jun 19, 2017

Conversation

KalitaAlexey
Copy link
Member

Before the PR, how to invoke Cargo was determined as follows:

  • If the user specified "rust.cargoPath", then the extension used it.
  • Just cargo (basically it meant the first available one)
    After the PR, how to invoke Cargo will be determined as follows:
  • If the user specifies "rust.cargoPath", then the extension will use it.
  • If rustup is installed and the user chooses "rustup.toolchain", then the extension will invoke Cargo as follows: rustup run <user toolchain> cargo ...
  • Just cargo (basically it meant the first available one)
    I'm going to keep the PR open at least for 24 hours.
    If you have any objections, suggestions, speak up please.

@KalitaAlexey KalitaAlexey merged commit 767bdaf into master Jun 19, 2017
@KalitaAlexey KalitaAlexey deleted the make-cargo-use-rustup branch June 19, 2017 18:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant