-
Notifications
You must be signed in to change notification settings - Fork 116
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
Corrode doesn't handle varargs functions #142
Comments
This is with corrode as of 84c6d7b |
Thanks for trying Corrode! This is because Rust doesn't support defining varargs functions. I haven't been able to think of any workable translation for this yet. 🙁 |
So, unfortuantely the only way is to scan the function and look for uses of |
It's currently not possible to represent C varargs function in Rust. The problem isn't really recognizing varargs functions, but making them actually work and possible to call from C. |
I was trying to convert ashuffle and got as far as https://github.com/joshkunz/ashuffle/blob/master/src/args.c#L20 before
The text was updated successfully, but these errors were encountered: