Hi. When trying to generate a zome, I get a message saying I should install Rust. I copied the Linux command from https://rustup.rs/ and got an error message. See below. (The instructions with “nix-env…” were saying that that would install Rust…)
[vagrant@nixos:/vagrant/my_first_app]$ hc generate zomes/my_zome
This command requires the
cargocommand, which is part of the Rust toolchain.
Generating a Rust based Zome depends on having Rust installed.
As a first step, get Rust installed by using rustup https://rustup.rs/.
Holochain requires you use the nightly-2019-07-14 toolchain.
With Rust already installed switch to it by running the following commands:
$ rustup toolchain install nightly-2019-07-14
$ rustup default nightly-2019-07-14
Having taken those steps, retry this command.
[vagrant@nixos:/vagrant/my_first_app]$ curl --proto ‘=https’ --tlsv1.2 -sSf https://sh.rustup.rs | sh
info: downloading installer
main: line 356: /tmp/tmp.IeYyA2X6kE/rustup-init: No such file or directory
(This is from Windows Powershell.)