-
Notifications
You must be signed in to change notification settings - Fork 156
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
Dependent qualified types don't work #106
Comments
There seem to be three problems here:
|
To be specific on the last point: we are expunging all mention of I am planning to see if I can persuade bindgen to output enough of |
It turns out bindgen does a creditable job of producing bindings for
|
Current state of play:
Next steps here:
|
It would be good to get this implemented upstream as |
Current state of play here with respect to Chromium:
|
I posted a status update to rust-lang/rust-bindgen#1924 |
I'm removing the "bug" label here since we now gracefully avoid mis-generations in such cases. As such this now becomes a C++ feature for which we need to add support. |
Given this code:
bindgen emits this:
which is fine from a Rust point of view, but no good for us because the SetHost function would get C++ bindings generated as
std::unique_ptr<BasicStringPiece>
instead ofstd::unique_ptr<StringPiece>
orstd::unique_ptr<BasicStringPiece<std::string>>
.The text was updated successfully, but these errors were encountered: