> ## Documentation Index
> Fetch the complete documentation index at: https://docs.incredibuild.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Running Builds for Rust

Last updated on Aug 31, 2026

Incredibuild can intercept cargo, distribute rustc (and related build-script-build/cl) builds and supports [Build Cache](/windows/build-cache) for rustc (and lib where used) builds.

The RustRover (IntelliJ) IDEA plugin is also supported.

## BuildCacheProfile Prerequisites

Build Cache caches rustc (and lib where used). The `BuildCache_profile_rust.xml` includes skip probes (`-vV`, `--version`, `--print=`, and so on), as well as rust-specific input/output filtering.

For Rust, add `/BuildCacheProfile="<IB installation folder>\BuildCache Profiles\BuildCache_profile_rust.xml"` to the BuildConsole command.

## Profile Prerequisites

Incredibuild intercepts cargo, and distributes rustc (and related build-script-build/cl).

To activate this, add `/Profile="<IB installation folder>\Profiles\rust.ib_profile.xml"` to the BuildConsole command.

## Running a Rust Build

Run your Rust build through BuildConsole, pointing `/Profile` at your profile XML file and `/BuildCacheProfile` to the Rust Build Cache profile:

```powershell theme={null}
BuildConsole /command=<cargo command> /Profile="<path>\rust.ib_profile.xml" /BuildCacheProfile="<IB installation folder>\BuildCache Profiles\BuildCache_profile_rust.xml"
```
