Be the first to know.
Get our Manufacturing weekly email digest.

Rust for DO-178C and ISO 26262: Why Coverage and Tool Qualification Matter

A High-Integrity Software Development Environment and Toolchain for Safety-Critical Code.

author avatar

02 Dec, 2026. 4 minutes read

Rust prevents several classes of memory errors through its ownership and borrowing rules, making it an option for embedded developers who need predictable execution without a garbage collector. But writing memory-safe code and demonstrating that software meets a functional safety standard are different tasks. For aircraft and automotive systems, developers must also show that requirements have been verified and that the tools used to produce evidence are trustworthy.

That difference helps explain why modified condition/decision coverage (MC/DC) has become an important issue for Rust. The technique examines how individual conditions affect software decisions. Reliably supporting it is especially relevant to projects working toward DO-178C and ISO 26262 compliance.

Why MC/DC Matters for Safety-Critical Code

Structural coverage measures which portions of a program are exercised by testing. Statement coverage records whether statements execute. Decision coverage checks whether a decision produces all possible outcomes. MC/DC asks a more specific question: “Has each condition within a decision been shown to independently change the result?”

Consider a control function that activates only when a sensor reading is valid and a safety mode is enabled. One test with both conditions true proves little about the decision's behavior when either input changes. MC/DC calls for evidence that the sensor condition and the mode condition each independently influence the outcome. It does not, by itself, demonstrate that the underlying requirements are correct.

The distinction carries different weight across standards. For airborne software developed under DO-178C, statement coverage applies at software level C, decision coverage is added at level B, and MC/DC is required at level A. Level A concerns software whose failure could contribute to a catastrophic aircraft-level condition. The FAA recognizes DO-178C as an acceptable means of compliance, rather than a regulation in its own right.

In automotive systems, ISO 26262-6 addresses software development and verification. MC/DC is highly recommended for ASIL D, the most demanding Automotive Safety Integrity Level, but it is not an unconditional requirement for every ASIL D project. Engineers therefore need to distinguish the exact objectives and justification expected for their application.

Rust programming language on computer screen. Source: AdobeStock.

Why Rust Needs Its Own Coverage Interpretation

Applying MC/DC to Rust is not simply a matter of adapting a C coverage tool. Rust's pattern matching can express control flow through match expressions, alternative patterns, and guards. A branch may contain several implicit decisions, even when the source code does not resemble a conventional Boolean expression.

This matters because coverage results depend on how conditions and decisions are defined. If a tool overlooks a decision hidden inside a pattern, its report may overstate what the tests have demonstrated.

Rust's pattern-matching features introduce additional challenges for MC/DC analysis. Coverage tools must identify decisions within these patterns and determine how individual conditions influence their outcomes. Without properly accounting for these language features, coverage measurements may not fully represent the program's decision logic.

Macros add another complication. Their expansion relies on compiler information that a simple source-to-source rewrite does not reliably preserve. As a result, producing trustworthy coverage measurements is difficult to do entirely outside the compiler. Instrumentation integrated with Rust can work closer to the representations used during compilation.

The State of Rust's MC/DC Tooling

An experimental MC/DC implementation entered the Rust compiler in 2024 behind an unstable flag. It supported some Boolean decisions but did not fully address pattern matching. In late 2025, maintainers removed it from the mainline compiler after raising concerns about incomplete functionality and the cost of maintaining the implementation.

That history is important when assessing current support. AdaCore reports that GNAT Pro for Rust 26.0 included supported MC/DC measurement using the earlier compiler instrumentation. That vendor-supported capability should not be confused with stable, general-purpose MC/DC support in upstream Rust.

The Rust project's 2026 goals instead describe a revised implementation of decision and MC/DC coverage, with AdaCore contributing development and maintenance work. The immediate target is support for core use cases on unstable compiler builds. Stable upstream availability remains a later goal, contingent on maintainable implementation and further work.

Coverage Is One Part of the Assurance Case

A credible coverage report does not settle all questions about certification. Engineers still need requirements-based tests, traceability, configuration control, and a rationale for uncovered code. They must also consider whether the compiler, coverage analyzer and libraries are suitable for the intended assurance level.

DO-330 addresses tool qualification for airborne development. Qualification needs depend on what the tool does and how much its output is trusted; not every tool has identical obligations. Research on Rust MC/DC has discussed a potential TQL-5 qualification approach for coverage measurement, but individual projects still must determine what evidence their workflow requires.

Libraries deserve similar attention. Rust applications commonly use libcore, and those using allocation facilities may rely on liballoc. AdaCore states that its GNAT Pro for Rust offering supports ISO 26262 projects up to ASIL D, including qualification material for these libraries. However, DO-178C qualification and certification work for AdaCore's Rust toolchain remains in progress. These are vendor-reported capabilities and plans, not proof that any application has achieved certification.

Automotive Electronic Control Unit (ECU). Source: AdobeStock.

Expanding the Ecosystem: AdaCore and OxidOS Partnership

In addition to tooling advancements, ecosystem partnerships are helping broaden Rust's footprint in safety-critical automotive environments. In November 2026, AdaCore and OxidOS Automotive announced a strategic partnership to expand the Rust-based secure ecosystem for automotive Electronic Control Units (ECUs). By combining OxidOS’s specialized Rust-based operating system with AdaCore’s qualified toolchains and software development solutions, the collaboration aims to provide automotive developers with an integrated, high-integrity platform that streamlines ISO 26262 compliance and enhances ECU security.

What This Means for Engineering Teams

For teams considering Rust in avionics or automotive software, the useful questions are practical. Which coverage criteria apply to the chosen assurance level? Does the selected compiler support all relevant language constructs? Can test results be reproduced against a controlled toolchain? And is qualification evidence available for the exact tools and libraries being used?

Rust's language-level protections can reduce certain programming risks, but they cannot replace verification of intended behavior. Better MC/DC support would address a specific obstacle to adopting Rust in higher-assurance applications. Its value will ultimately depend on the implementation’s reliability and the quality of evidence teams can produce with it.

Learn more about AdaCore’s GNAT Pro for Rust, a high-integrity software development environment and toolchain.

24,000+ Subscribers

Stay Cutting Edge

Join thousands of innovators, engineers, and tech enthusiasts who rely on our newsletter for the latest breakthroughs in the Engineering Community.

By subscribing, you agree to ourPrivacy Policy.You can unsubscribe at any time.