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

add support for downloading specific version of toolchain #57

Merged
merged 3 commits into from
Sep 2, 2024

Conversation

maminrayej
Copy link
Contributor

This PR adds support for downloading a specific version of the toolchain. For example:

cargo wasix download-toolchain v2024-06-26.1

if no version is specified, it will fetch the latest release which is compatible with the old behavior.

Copy link
Contributor

@Arshia001 Arshia001 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM overall, but I think to make it actually useful, we should also add a list-toolchain-versions command. Otherwise, people will have no way of knowing we're fetching the versions from GH, and even if they did, they'd have to guess the repo URL and open it up to see the versions.

src/lib.rs Outdated Show resolved Hide resolved
src/lib.rs Show resolved Hide resolved
@Arshia001 Arshia001 merged commit 7a7efe1 into main Sep 2, 2024
2 of 4 checks passed
@Arshia001 Arshia001 deleted the download-specific-toolchain branch September 2, 2024 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants