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

cargo wasix cannot find the rustc executable #16

Open
twitchax opened this issue Jun 16, 2023 · 0 comments
Open

cargo wasix cannot find the rustc executable #16

twitchax opened this issue Jun 16, 2023 · 0 comments

Comments

@twitchax
Copy link

When building / running for the first time on Windows, the downloaded toolchain cannot be found.

$ cargo wasix build --release
Finding latest release... (https://api.github.com/repos/wasix-org/rust/releases/latest)...
Toolchain path C:\Users\twitc\AppData\Roaming\cargo-wasix\toolchains\x86_64-pc-windows-msvc_v2023-05-26.1 already exists - deleting existing files!
Downloading sysroot from url 'https://github.com/wasix-org/rust/releases/download/v2023-05-26.1/wasix-libc.tar.gz'...
Extracting...
Downloading Rust toolchain from url 'https://github.com/wasix-org/rust/releases/download/v2023-05-26.1/rust-toolchain-x86_64-pc-windows-msvc.tar.gz'...
Extracting...
Downloaded toolchain x86_64-pc-windows-msvc to C:\Users\twitc\AppData\Roaming\cargo-wasix\toolchains\x86_64-pc-windows-msvc_v2023-05-26.1\rust
Activating rustup toolchain wasix at C:\Users\twitc\AppData\Roaming\cargo-wasix\toolchains\x86_64-pc-windows-msvc_v2023-05-26.1\rust...
error: Invalid toolchain directory: rustc executable not found at C:\Users\twitc\AppData\Roaming\cargo-wasix\toolchains\x86_64-pc-windows-msvc_v2023-05-26.1\rust\bin/rustc

The binary is present, so it seems like wasix may be looking for exactly rustc instead of rustc.exe?

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

No branches or pull requests

1 participant