This document has been produced to assess the applicability of the MISRA C guidelines to the Rust programming language, and will form the basis of future work within MISRA, in collaboration with the wider Rust community. The intended purpose of this document is to highlight which areas of the Rust programming language are and are not subject to issues identified as affecting C projects. By identifying which issues enforced by a given MISRA C guideline categorically cannot apply to a Rust project, developers of a Rust project can be certain that their code is compliant to whichever parts of functional safety standards those guidelines are intended to enforce. Where an issue enforced by a MISRA C guideline does still apply or potentially apply to code written in Rust, deeper analysis may still be required to ensure compliance, but the overall list is reduced and the relevant issues are clearly identified as mapping to some known enforcement which can aid in manual review.

Back to posts