Merge pull request #187921 from amjoseph-nixpkgs/pr/manual/rust/buildRustY
doc/../rust.section.md: prominently mention `buildRustXX` names
This commit is contained in:
commit
80212614a3
1 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ For other versions such as daily builds (beta and nightly),
|
||||||
use either `rustup` from nixpkgs (which will manage the rust installation in your home directory),
|
use either `rustup` from nixpkgs (which will manage the rust installation in your home directory),
|
||||||
or use a community maintained [Rust overlay](#using-community-rust-overlays).
|
or use a community maintained [Rust overlay](#using-community-rust-overlays).
|
||||||
|
|
||||||
## Compiling Rust applications with Cargo {#compiling-rust-applications-with-cargo}
|
## `buildRustPackage`: Compiling Rust applications with Cargo {#compiling-rust-applications-with-cargo}
|
||||||
|
|
||||||
Rust applications are packaged by using the `buildRustPackage` helper from `rustPlatform`:
|
Rust applications are packaged by using the `buildRustPackage` helper from `rustPlatform`:
|
||||||
|
|
||||||
|
@ -608,7 +608,7 @@ buildPythonPackage rec {
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
## Compiling Rust crates using Nix instead of Cargo {#compiling-rust-crates-using-nix-instead-of-cargo}
|
## `buildRustCrate`: Compiling Rust crates using Nix instead of Cargo {#compiling-rust-crates-using-nix-instead-of-cargo}
|
||||||
|
|
||||||
### Simple operation {#simple-operation}
|
### Simple operation {#simple-operation}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue