Skip to content

An investigation into what adhering to each MISRA-C rule looks like in Rust. The intention is to decipher how much we "get for free" from the Rust compiler.

License

Notifications You must be signed in to change notification settings

PolySync/misra-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MISRA-Rust

Overview

The MISRA-Rust project represents an investigation into what adhering to each MISRA-C rule looks like in Rust. The intention is to decipher how much we "get for free" from the Rust compiler.

Because of the proprietary nature of the MISRA-C specificaion, the description of each rule has been omitted.

Usage

Each rule corresponds to a source file in tests/compile-fail. A "passing" test is a test that fails to compile. Passing tests can indicate that Rust enforces a specific MISRA-C rule or that the rule does have a Rust equivalent.

cargo test

Issues

We certainly want to hear if you think we've missed something or misrepresented a rule. Please raise an issue!

License

© 2018, PolySync Technologies, Inc.

Please see the LICENSE file for more details

About

An investigation into what adhering to each MISRA-C rule looks like in Rust. The intention is to decipher how much we "get for free" from the Rust compiler.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages