Open
Description
I tried using a local build of rust-lang/rust for testing, but rustwide gives an error while initializing:
2021/03/07 10:35:01 [INFO] rustwide::cmd: running `Command { std: "/home/joshua/docs.rs/.workspace/cargo-home/bin/rustup" "target" "list" "--installed" "--toolchain" "rustc2", kill_on_drop: false }`
Error: Building documentation failed
Caused by:
failed to read the list of installed targets for rustc2 with rustup
Caused by:
command failed: exit code: 1
$ "/home/joshua/docs.rs/.workspace/cargo-home/bin/rustup" "target" "list" "--installed" "--toolchain" "rustc2"
error: toolchain 'rustc2' does not support components
error: caused by: rustc2 is a custom toolchain
Not yet sure if this is a docs.rs bug or a rustwide bug - maybe the best solution is for rustwide to detect a custom toolchain and add a new error variant for that?