-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Properly handle goto blocks #38
Comments
These magic numbers are generated by the c2rust tool. The number represent a "control flow block" which may be a goto destination in the original program. This definitely needs to be improved, but we need a good solution. |
See also #140 for replacing a cleanup/panic goto with a function call |
@mulimoen can you take a look at |
Should be fairly straight forward by using a function return bad_ftm(); where goto bad_ftm; appears in the original source |
Functions still contain such
|
Some of the functions are still being rewote in progress, the removal of |
I found a lot of rust code like that:
It should be replaced by some code without the
match
middle layer.The text was updated successfully, but these errors were encountered: