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

is it possible to set the toolchain version? #132

Closed
thedavidmeister opened this issue Nov 11, 2018 · 4 comments
Closed

is it possible to set the toolchain version? #132

thedavidmeister opened this issue Nov 11, 2018 · 4 comments
Assignees
Milestone

Comments

@thedavidmeister
Copy link

Problem Description

I saw that it is possible to only run a task conditionally on the toolchain.

Is it possible to set/pin the toolchain? e.g. with an ENV or something?

@sagiegurari
Copy link
Owner

that's a really good idea.
in 0.15.0 branch i added initial rustup support, so i could definitely add on top of that something, like what you are looking for.
let me think of a good design for it

@sagiegurari sagiegurari self-assigned this Nov 11, 2018
@sagiegurari sagiegurari added this to the 0.15.2 milestone Nov 13, 2018
sagiegurari added a commit that referenced this issue Nov 16, 2018
@sagiegurari
Copy link
Owner

initial commit pushed to 0.15.2 to support toolchain selection in task level.
you can see the draft docs

if you can give it a try and provide feedback, it would be really helpful.
right now toolchain support is only for command in crate/rustup component installations but not for scripts or install_scripts as I prefer people to use the more structure way to invoking rust related commands.

sagiegurari added a commit that referenced this issue Nov 16, 2018
@thedavidmeister
Copy link
Author

hi, i'm using nixos atm rather than cargo-make, but sounds good :D

@sagiegurari
Copy link
Owner

pushed to master and will be officially released today

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

No branches or pull requests

2 participants