Ferrocene compiler
Ferrocene is a qualified Rust toolchain used for safety- and mission-critical systems. RustRover supports the Ferrocene toolchain, allowing you to use it in place of the standard one.
Before you begin
Make sure you have Rustup installed. You can check that by running
rustup --version.Install CriticalUp, the Ferrocene toolchain manager. For detailed instructions, see Installing CriticalUp.
Add a Ferrocene toolchain by running:
criticalup link createTo check the result, run:
rustup toolchain listThe displayed list should mention the Ferrocene toolchain.
Enable the ferrocene toolchain in RustRover
Check whether your project includes
criticalup.toml, a manifest file required for project configuration. If not:Add a
criticalup.tomlfile to your project by running:criticalup init --release stable-26.02.0Download all the libraries required for the given Ferrocene version:
criticalup install
To switch from the default toolchain to Ferrocene run:
rustup default ferroceneMake sure
criticalup.tomllistsrust-srcamong packages. If not, you can add it to the list by clicking theAdd rust-src to criticalup.tomllink in the Build tool window.