Browse Source

Fix rustup command in the docs. (#48)

rustup install nightly --component rust-src

gives:

```
error: Found argument '--component' which wasn't expected, or isn't valid in this context

USAGE:
    rustup install [FLAGS] [OPTIONS] <toolchain>...

For more information try --help
```

The correct command seems to be `rustup toolchain install nightly --component rust-src`.
Markus Stange 3 years ago
parent
commit
70dc862196
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/src/start/development.md

+ 1 - 1
docs/src/start/development.md

@@ -7,7 +7,7 @@ This is easily achieved with [`rustup`]:
 
 ```console
 rustup install stable
-rustup install nightly --component rust-src
+rustup toolchain install nightly --component rust-src
 ```
 
 Once you have the Rust tool-chains installed, you must also install the `bpf-linker` - for linking our eBPF program - and `cargo-generate` - for generating the project skeleton.