Forrest logo
back to context overview

cargo-rustc

List of commands for cargo-rustc:

  • cargo-rustc:tldr:16bb5 cargo-rustc: Build the package or packages defined by the `Cargo.toml` manifest file in the current working directory.
    $ cargo rustc
    try on your machine
    explain this command
  • cargo-rustc:tldr:44077 cargo-rustc: Build artifacts in release mode, with optimizations.
    $ cargo rustc --release
    try on your machine
    explain this command
  • cargo-rustc:tldr:7346b cargo-rustc: Build only the specified binary.
    $ cargo --bin ${name}
    try on your machine
    explain this command
  • cargo-rustc:tldr:b9eb1 cargo-rustc: Build a specific package.
    $ cargo rustc --package ${package}
    try on your machine
    explain this command
back to context overview