-
-
Notifications
You must be signed in to change notification settings - Fork 66
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
Maybe: work around rustup#3036 #159
Comments
Would you be able to confirm whether #160 fixes this? I don't have access to Windows. cargo install --git https://github.com/dtolnay/cargo-expand --branch rustuprun --force |
I can confirm that #160 fixes this 🎉 |
Thanks, great. Published in 1.0.28. |
CAD97
referenced
this issue
in taiki-e/cargo-hack
Jul 25, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
context: rust-lang/rustup#3036 rust-lang/rustup#3035
As of rustup 1.25, cargo-expand doesn't work when run from stable:
AIUI 1.25.1 reverted (perhaps temporarily?) the change to set
$RUSTC
so thatcargo +toolchain
could function when run from a cargo invocation. However, there's a separate change that also impacts Windows that leads to the toolchain cargo being selected instead of the rustup shim.I'm honestly not exactly certain what the correct behavior w.r.t. rust-lang/rustup#3036 is. Perhaps the correct option is to use
rustup run nightly cargo
instead ofcargo +nightly
?The text was updated successfully, but these errors were encountered: