mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-27 00:00:03 +03:00
Put --locked in the troubleshooting section
This commit is contained in:
parent
be4dfe8be0
commit
b7289e59aa
13
README.md
13
README.md
|
@ -32,11 +32,18 @@ The following command will download and compile Rustlings:
|
||||||
<!-- TODO: Remove @6.0.0-beta.x -->
|
<!-- TODO: Remove @6.0.0-beta.x -->
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cargo install rustlings@6.0.0-beta.3 --locked
|
cargo install rustlings@6.0.0-beta.3
|
||||||
```
|
```
|
||||||
|
|
||||||
If the installation failes, make sure you have the latest Rust version by running `rustup update`.
|
#### Troubleshooting
|
||||||
Otherwise, please [report an issue](https://github.com/rust-lang/rustlings/issues/new).
|
|
||||||
|
If the installation fails…
|
||||||
|
|
||||||
|
<!-- TODO: Remove @6.0.0-beta.x -->
|
||||||
|
|
||||||
|
- Make sure you have the latest Rust version by running `rustup update`.
|
||||||
|
- Try adding the `--locked` flag: `cargo install rustlings --locked`
|
||||||
|
- Otherwise, please [report an issue](https://github.com/rust-lang/rustlings/issues/new).
|
||||||
|
|
||||||
### Initialization
|
### Initialization
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue