Jump to content

Rust: Difference between revisions

m
Corrected "offers and interface" to "offers an interface"
imported>Proski
m (ldd -> lld (lld is a linker, ldd is a tool to list shared library dependencies))
imported>\\\\\\\\\\\
m (Corrected "offers and interface" to "offers an interface")
Line 25: Line 25:


== Installation via rustup ==
== Installation via rustup ==
The rustup tool is maintained by the Rust community and offers and interface to install and switch between Rust toolchains. In this scenario, rustup handles the "package management" of Rust toolchains and places them in <code>$PATH</code>. Nixpkgs offers rustup via the <code>rustup</code> derivation. More info on using rustup can be found on their official website: https://rustup.rs/.
The rustup tool is maintained by the Rust community and offers an interface to install and switch between Rust toolchains. In this scenario, rustup handles the "package management" of Rust toolchains and places them in <code>$PATH</code>. Nixpkgs offers rustup via the <code>rustup</code> derivation. More info on using rustup can be found on their official website: https://rustup.rs/.


If you want to have the most "normal" Rust experience I recommend using rustup with the following example shell.nix:
If you want to have the most "normal" Rust experience I recommend using rustup with the following example shell.nix:
Anonymous user