-
Notifications
You must be signed in to change notification settings - Fork 257
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
rust-toolchain.toml
causes 'cargo' component, is not applicable
#1009
Comments
Interesting, do you happen to not use |
I can confirm that on my Windows machine (where I do use |
I'm using rustup. I updated to 1.63.0 using rustup.
|
@rylev, do you have rustup 1.25.1 on your Windows machine? |
I do indeed:
|
Found one issue online that seems to mirror what you're seeing here. The solution that seemed to work was to uninstall and reinstall the toolchain. That might be the easiest. The other option is building rustup locally and debugging it... |
rust-lang/rustup#2704 has a similar error message, but was marked as a duplicate of rust-lang/rustup#988 . I removed all my toolchains with Here is my toolchain list before and after: PS C:\Users\cataggar\io\azure-sdk-for-rust> rustup toolchain list PS C:\Users\cataggar\io\azure-sdk-for-rust> rustup toolchain list |
I had to reinstall the toolchains again to get this to work for me with 1.64. I got the same error as before. |
@cataggar I think I am running into the same issue you have here. I am a bit new to rust and trying to learn how to use this SDK. PS D:\RustProjects\azure-sdk-for-rust> rustup toolchain list PS D:\RustProjects\azure-sdk-for-rust> rustup --version I think I have the same toolchain list as you but still cannot get this project to build PS D:\RustProjects\azure-sdk-for-rust> cargo build I am wondering what I am doing wrong. Any assistance would be greatly appreciated. |
Can you run the following and try again?
|
@rylev that got me working to get a build going. Now just to figure out how to use the SDK :) Thanks for the assist! |
I think this happened to me just now (Intel Mac running macOS Ventura 13.4.1) because I had a network hiccup while installing the toolchain:
Nuking the toolchain and letting rustup reinstall it seems to have fixed the problem. |
rust-toolchain.toml
from #1006 is causing an error when I try to runcargo
:cc @gorzell
azure-sdk-for-rust/rust-toolchain.toml
Lines 1 to 3 in 2536038
The text was updated successfully, but these errors were encountered: