vinc/moros

sh: --default-toolchain: No such file or directory curl: (23) Failure writing output to destination

ignacek1 opened this issue · 3 comments

This is what happens when I try to build:

➜ moros git:(trunk) curl https://sh.rustup.rs -sSf | sh -- --default-toolchain none
sh: --default-toolchain: No such file or directory
curl: (23) Failure writing output to destination
➜ moros git:(trunk)

vinc commented

Hi @ignxcy, thanks for reporting the bug! It was introduced 2 days ago in #495, the make setup command works but not what I copy pasted into the README!

I created #504 with this command:

curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain none
vinc commented

The idea with this command is to avoid downloading the default toolchain for nothing before downloading the repo's toolchain defined in rust-toolchain.toml right after that.

thank you