-
-
Notifications
You must be signed in to change notification settings - Fork 179
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 does not handle +toolchain directives. #1494
Comments
This should only happen if you have the Just wondering do you handle your rust install via rustup? And why is that environment variable set? Just trying to understand a bit more because it will have been added to fix another users issue so I don't want to just willy-nilly remove the env var check |
Looking at my Windows environment variables, I don't have |
Sorry for the delay, I have pushed a branch with a potential fix, if you could try it out and let me know if it solves it - otherwise I'll look to different methods. The branch is |
Doing too many PRs at once and merged this one. It's a change I likely would have merged anyway... But yeah it's in develop now! |
Okay this is released, I'll close the issue but if it still persists feel free to reopen |
Ah dang, I lost track of this, sorry! I just upgraded to v0.29.0. Looks like the issue is still occuring :/ @xd009642 I don't think I'm able to reopen this issue. |
Ok I decided to clone the repo and tinker with it. I just printed all my environment variables and RUSTUP_TOOLCHAIN is there clear as day. However running |
I believe I know what the issue is: I have rustup installed to a non-default directory |
I am on Windows 10, using Rust 1.76, default toolchain set to stable-x86_64-pc-windows-msvc. I ran
cargo new --lib code-cov-example
, cd'ed into it, and rancargo tarpaulin
and got the following message:I'm not really sure how to debug this. I also just installed tarpaulin using
cargo install cargo-tarpaulin
like normal.The text was updated successfully, but these errors were encountered: