rustup provides a number of wrappers for common Rust tools.
These are called proxies and represent commands which are
provided by the various components.
The list of proxies is currently static in
rustup and is as follows:
rustcis the compiler for the Rust programming language, provided by the project itself and comes from the
rustdocis a tool distributed in the
rustccomponent which helps you to generate documentation for Rust projects.
cargois the Rust package manager which downloads your Rust package’s dependencies, compiles your packages, makes distributable packages, and uploads them to crates.io (the Rust community’s package registry). It comes from the
rust-gdbguiare simple wrappers around the
gdbguidebuggers respectively. The wrappers enable some pretty-printing of Rust values and add some convenience features to the debuggers by means of their scripting interfaces.
rust-analyzeris part of the Rust IDE integration tooling. It implements the language-server protocol to permit IDEs and editors such as Visual Studio Code, ViM, or Emacs, access to the semantics of the Rust code you are editing. It comes from the
clippy-driverare related to the
clippylinting tool which provides extra checks for common mistakes and stylistic choices and it comes from the
cargo-miriis an experimental interpreter for Rust's mid-level intermediate representation (MIR) and it comes from the
rlsis a deprecated IDE tool that has been replaced by
rust-analyzer. It comes from the