3 ms·
The goal of C2rust is not to produce good maintainable Rust. It’s to produce buildable rust which exactly matches the original code, which you can then migrate
by masklinn 4y ago
The goal of C2rust is not to produce good maintainable Rust.
It’s to produce buildable rust which exactly matches the original code, which you can then migrate to proper rust.
So your query is really in the “not even wrong” category.
- Animats 4y agowhich you can then migrate to proper rust. Which means you have to manually work on that awful code that comes out. In the chart at [1], this step is represented by a magic wand. (I wanted to give some examples, but https://c2rust.com/ https://c2rust.com/ seems to not be translating today.) [1] https://c2rust.com/manual/ https://c2rust.com/manual/