corrode icon indicating copy to clipboard operation
corrode copied to clipboard

C to Rust translator

Results 81 corrode issues
Sort by recently updated
recently updated
newest added

I just upgraded to language-c >= 0.7; The tests seem to work.

In this example, "return j" is brought outside the scope where "j" is declared. Input: `int f() { int i = 1; for (;;) { int j = i; if...

Input: `static enum AB {A, B} ab;` Output: "Corrode doesn't handle this yet: { }". Proposed output: ..., `static mut ab : AB = _AB::A;`. (This happened more naturally in...

I'm using this project to port a large C project and it is amazing. I am however running into a few issues: - The use of `u8` causes lots of...

...by defining more cases of interpretConstExpr. This covers a simple case from #133, though it's not clear to me that this approach can successfully solve the whole issue. TIA for...

Where to start investigating why corrode doesn't handle something yet? Does corrode work on the source as is or let the preprocessor do it's work first? Might be nice to...

I guess this is what I get for trying to modernise C code that turned 25 this year. 😄 **``$ cat test_pass.c``** ``` #include int main(argc, argv) int argc; char...

The following two programs are translated, but don't compile for the same reason: they use variable and variant names that are keywords in Rust. ```c void foo(int box) { box++;...

Currently corrode doesn't recognize them at all: ``` Corrode doesn't handle this yet: u32 mode : 16, uid : 16 ```