immunant / c2rust

Migrate C code to Rust
https://c2rust.com/
Other
3.81k stars 220 forks source link

mark extern block function signatures as FIXED #966

Closed aneksteind closed 1 year ago

aneksteind commented 1 year ago

Fixes #965. The inputs and outputs of body-owners are already marked as fixed, but the traversal of all_fn_dids does not include function declarations in extern blocks

aneksteind commented 1 year ago

Would be nice to have a test for this, but I guess that might be too much trouble when you can't actually call extern-block fns yet.

@spernsteiner how do you want to handle that in the short term, is it worth supporting minimally or in some more principled way? @kkysen didn't you have a WIP for this?