You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I often want to find out "what is the real command that is running" so that I can (e.g.) launch rustc within gdb or something. I usually invoke rustc with something like:
Assuming you'd be okay with rustup +rust-1-stage1 which rustc which is effectively what #1498 is proposing, then I suggest we add --toolchain support to rustup which and then have #1498 provide the +foo variant. Does that sound acceptable?
I'm interested in trying out. Can you give more hint what adding +foo variant implies? Does it mean rustup +custom-1 which rustc would work the same as rustup --toolchain=custom-1 which rustc?
@BeniCheni Yes, the idea is that rustup +nightly which rustc would be the same as rustup which rustc --nightly and so on. So that it's the same as cargo +nightly run or rustfmt +nightly etc.
I often want to find out "what is the real command that is running" so that I can (e.g.) launch rustc within gdb or something. I usually invoke rustc with something like:
It's annoying to me that I can't just add
rustup which
in front of that and have it emit something like:Maybe something like
rustup elaborate
?At minimum, I wish I could do
rustup which +rust-1-stage1
or something.The text was updated successfully, but these errors were encountered: