Software Defined Vehicles

Embedded software development

Ferrocene brings qualified Rust compiler to QNX SDP 8.0

2 min
Large RUST lettering over a dark screen filled with colour-coded programming code.
Ferrocene 26.08 provides a qualified Rust compiler for QNX SDP 8.0 on the Armv8-A and x86-64 processor architectures.

Ferrocene 26.08 adds qualified Rust compiler targets to QNX SDP 8.0, supporting Armv8-A/x86-64, Rust standard-library support and C-ABI integration into pre-existing C/C++ applications for safety-critical vehicle projects; compiler qualification covers ASIL D.

Ferrous Systems has made its Ferrocene SDK available for QNX Software Development Platform (SDP) 8.0. According to the company, Ferrocene is a quality-assured Rust toolchain qualified by TÜV Süd for safety-critical applications. Version 26.08 adds qualified compiler targets for Armv8-A and x86-64 on the platform and supports the Rust standard library. Developers can use it to implement individual components in Rust and integrate them into existing C or C++ applications. The SDK is available through ferrocene.dev and, for QNX customers, through the QNX Software Center.

Which component is a good starting point for Rust?

For a first Rust project, Jonathan Pallant, Senior Embedded Systems Engineer at Ferrous Systems, recommends a C or C++ library that processes untrusted data without its own sandbox. He bases this on Chromium’s “Rule of Two”: no more than two of three risk factors should occur together. Such a library combines all three. It processes potentially unsafe input, the language does not guarantee memory safety, and there is no sandbox. Porting the component to Rust addresses the memory-safety risk in legacy software.

As an example, Pallant points to Firefox, which is largely written in C++. Rust libraries have replaced individual C routines used to parse media data. He describes the same integration path for an existing QNX application. The team wraps the Rust library in slim functions callable through the C application binary interface, or C ABI, then builds a static or dynamic library and links it into the application.

The Rust-native interface remains intact, allowing developers to continue testing the library with Rust tools and measure code coverage. This approach reflects how automotive teams can integrate Rust selectively into existing C and C++ applications rather than replace entire codebases.

What does ISO 26262 qualification cover?

For automotive projects, Florian Gilcher, Managing Director of Ferrous Systems GmbH, distinguishes between the compiler and the library. According to Gilcher, the Rust compiler is qualified by TÜV Süd for development up to ASIL D. Part of the Rust core library is certified up to ASIL B.

The supplied qualification material can reduce some of the work required to demonstrate confidence in the compiler. Two responsibilities remain with the user, Gilcher says: the development team must show that the tool is being used within its qualified scope and must still demonstrate the functional safety of its own application. Ferrocene therefore provides qualified tooling for safety-critical automotive development, but it does not replace the application-level safety case.