diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ffa76e6..9836afd 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -95,7 +95,7 @@ Debian Linux installation): ### Configuring cargo You need to tell Cargo to use your C-toolchain. For this you need to have -a block in [your cargo config](https://doc.rust-lang.org/cargo/reference/config.html) setting at +a block in [your user cargo config](https://doc.rust-lang.org/cargo/reference/config.html) setting at least the paths to the gcc as `linker` and ar as `ar`: ```toml @@ -105,6 +105,10 @@ linker = "aarch64-linux-gnu-gcc" ar = "aarch64-linux-gnu-ar" ``` +This block should be added to your **user** cargo config (usually +`~/.cargo/config.toml`), since these values can differ between distros and +users. + To actually compile for the given triple you need to call `cargo build` with the `--target` flag: