Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 889 Bytes

intro.md

File metadata and controls

7 lines (4 loc) · 889 Bytes

C2Rust helps you migrate C99-compliant code to Rust. The translator (or transpiler) produces unsafe code Rust code that closely mirrors the input C code. The primary goal of the translator is to preserve functionality; test suites should continue to pass after translation. Generating safe and idiomatic Rust code from C ultimately requires manual effort. However, we are building a scriptable refactoring tool that reduces the tedium of doing so. You can also cross-check the translated code against the original (tutorial).

Here's the big picture:

C2Rust overview

To learn more, check out our RustConf'18 talk on YouTube and try the C2Rust translator online at www.c2rust.com.