25. Using the certified libraries

Use the certified libraries exactly how you’d use the normal Rust standard libraries.

25.1. Required compiler flags

The certified libraries require the use of the -C panic=abort compiler flag. Refer to the safety manual.

25.2. Building an executable

Follow the Ferrocene rustc docs on how to build an executable.

25.3. Using the certified libraries in an existing Rust project

To use the certified libraries in an existing project, make sure you’re using only the permitted functions according to Certified subset.