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

WASIX toolchain issue on Windows #11

Closed
Loga-Shanmugam opened this issue Jun 7, 2023 · 7 comments
Closed

WASIX toolchain issue on Windows #11

Loga-Shanmugam opened this issue Jun 7, 2023 · 7 comments
Labels
bug Something isn't working

Comments

@Loga-Shanmugam
Copy link

Hi,
I installed WASIX on windows. Now when I try to execute the cargo wasix build, I am getting toolchain not found error. I can understand if WASIX has no windows gnu toolchain. Here I have no idea why it is looking for "x86_64-pc-windows-gnu" even tough I use "x86_64-pc-windows-msvc".

image

@theduke
Copy link
Collaborator

theduke commented Jun 7, 2023

We switched from gnu to msvc builds for the toolchain, but forgot to re-publish the crate with the new download URL.

I just published cargo-wasix 0.1.20.

Re-installing should fix the issue.

Please reopen if you still have problems!

@theduke theduke closed this as completed Jun 7, 2023
@theduke theduke added the bug Something isn't working label Jun 7, 2023
@theduke
Copy link
Collaborator

theduke commented Jun 7, 2023

Fixed in #5 .

@Loga-Shanmugam
Copy link
Author

Loga-Shanmugam commented Jun 8, 2023

There is still a issue with toolchain naming for windows

image

@sergree
Copy link

sergree commented Jul 21, 2023

There is still no wasix toolchain after cargo install cargo-wasix on Windows 11.

@theduke
Copy link
Collaborator

theduke commented Jul 24, 2023

@sergree you need to run a command like cargo wasix check first, which will download the toolchain.

@sergree
Copy link

sergree commented Jul 24, 2023

Thank you for the answer, @theduke !
I've got this message:

> cargo wasix check
Finding latest release... (https://api.github.com/repos/wasix-org/rust/releases/latest)...
Could not download pre-built toolchain: Release v2023-07-21.1 does not have a prebuilt toolchain for host x86_64-pc-windows-msvc
error: Download of pre-built toolchain failed

Caused by:
    Release v2023-07-21.1 does not have a prebuilt toolchain for host x86_64-pc-windows-msvc

@sergree
Copy link

sergree commented Jul 24, 2023

I've opened the separate issue for this: #24
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants