Daniel Silverstone
Daniel Silverstone
I think it's also worth noting that whatever solution we come up with here either needs to also work on Linux/Mac/*NIX in general, or else be isolated to windows-only pathways....
Hi Steve, yes this is the right ticket. Are you certain there're no IDEs or anything open which could be using rustup, rls, rustc, etc. Even via another program such...
Unless nushell was running cargo or rustup or similar, not as far as I know, no.
One idea, run task manager and look through the process list for any of rustc cargo rls rustup etc. ?
No worries, this part of `rustup` on Windows is very difficult to predict sometimes. Especially with background virus scanners etc. which might decide to hold a handle on the binary...
@ChrisDenton Does this work if the rename call comes from *not* that process? i.e. renaming myself might be okay if I'm the only execution context with it; but if there's...
Interesting, thanks Chris. @rbtcollins do you think we can use the above to make changes to how we install updates, or should we also try and get tests on older...
I'd be willing to have the recommendation URL change based on the OS you're installing on. If installing on win 10 recommend the win 10 SDK, if on win 11,...
I think I possibly misunderstood - this is likely referring to https://github.com/rust-lang/rustup/blob/master/doc/src/installation/windows.md?plain=1#L15 which mentions ensuring you install the Windows 10 SDK, which is likely to ensure there's a C runtime...
An idea I had was: ```rust App::new("rustup") .mirror("install", "toolchain-install") ... .subcommand(SubCommand::with_name("toolchain") .subcommand(SubCommand::with_name("install") .as_mirror("toolchain-install") ... ) ) ) ``` Where the `.mirror()` and `.as_mirror()` names would have to match up by...