|
|
|
@ -33,8 +33,8 @@ This will install Rustlings and give you access to the `rustlings` command. Run
|
|
|
|
|
Basically: Clone the repository at the latest tag, finally run `nix develop` or `nix-shell`.
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
# find out the latest version at https://github.com/rust-lang/rustlings/releases/latest (on edit 5.4.0)
|
|
|
|
|
git clone -b 5.4.0 --depth 1 https://github.com/rust-lang/rustlings
|
|
|
|
|
# find out the latest version at https://github.com/rust-lang/rustlings/releases/latest (on edit 5.4.1)
|
|
|
|
|
git clone -b 5.4.1 --depth 1 https://github.com/rust-lang/rustlings
|
|
|
|
|
cd rustlings
|
|
|
|
|
# if nix version > 2.3
|
|
|
|
|
nix develop
|
|
|
|
@ -71,8 +71,8 @@ If you get a permission denied message, you might have to exclude the directory
|
|
|
|
|
Basically: Clone the repository at the latest tag, run `cargo install --path .`.
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
# find out the latest version at https://github.com/rust-lang/rustlings/releases/latest (on edit 5.4.0)
|
|
|
|
|
git clone -b 5.4.0 --depth 1 https://github.com/rust-lang/rustlings
|
|
|
|
|
# find out the latest version at https://github.com/rust-lang/rustlings/releases/latest (on edit 5.4.1)
|
|
|
|
|
git clone -b 5.4.1 --depth 1 https://github.com/rust-lang/rustlings
|
|
|
|
|
cd rustlings
|
|
|
|
|
cargo install --force --path .
|
|
|
|
|
```
|
|
|
|
|