From 70dc8621968cc55811a0d4534ed46a01cd25f2e6 Mon Sep 17 00:00:00 2001 From: Markus Stange Date: Thu, 12 Aug 2021 21:07:15 -0400 Subject: [PATCH] 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] ... For more information try --help ``` The correct command seems to be `rustup toolchain install nightly --component rust-src`. --- docs/src/start/development.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/start/development.md b/docs/src/start/development.md index 873f8be2..5a3ee25c 100644 --- a/docs/src/start/development.md +++ b/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.