brson/multirust

Using nightly Cargo with stable Rust toolchain?

Opened this issue · 1 comments

Hi.

Is the above possible, i.e. is there a switch or a configuration method for this?

brson commented

No, there is no way to do this now, but thanks for the idea.

This is related to the problem of locally-installed toolchains not containing cargo. I'd like to add a fallback so that if cargo exists, multirust just picks a cargo that is available, probably preferring stable, then beta, then nightly.

With that fallback, if you wanted to use nightly cargo with stable rust you might be able to delete cargo from the stable toolchain and fallback to nightly cargo.

We might also teach multirust-rs to create custom toolchains by combining components from arbitrary channels, or the archives. Too difficult for multirust.sh though.