-
Notifications
You must be signed in to change notification settings - Fork 744
Variadic argument member function failure. #402
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
Comments
bors-servo
pushed a commit
that referenced
this issue
Jan 19, 2017
Maybe we can keep this issue open for a proper future fix? |
I think we should open another issue to track that work, I opened #407 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It happens when the variadic argument function is defined as a class member function. Then like the below, rust-bindgen tries to generate
...
argument for a non-foreign function, which current rustc doesn't support.Example:
Header:
Generated code:
Compiling the above generated code:
I think we should disable code generation for this case and emit a warning for now, unless there is an easy solution for this.
The text was updated successfully, but these errors were encountered: