Skip to content

0.0.104 bindings #1219

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

Conversation

TheBlueMatt
Copy link
Collaborator

The two commits from #1218 and one rebased (but much smaller now) from 0.0.103-bindings.

@TheBlueMatt TheBlueMatt force-pushed the 2021-12-0.0.104-bindings branch from 7f5122b to 95630be Compare December 18, 2021 20:04
@TheBlueMatt
Copy link
Collaborator Author

Rebased on #1218

...as otherwise the struct is rather useless.
The bindings generation really should support generic bounds other
than Deref::Target in where clauses, but currently does not. To
avoid needing to add support during the current release process,
we simply swap around the arguments to move them to the first <>
instead of the where.
We don't really care about more than this in bindings - calling
into a custom `Score` is likely too slow to be practical anyway,
so this is also a performance improvement.

Works around rust-lang/rust#90448
@TheBlueMatt TheBlueMatt force-pushed the 2021-12-0.0.104-bindings branch from 95630be to 731fa9d Compare December 18, 2021 23:08
@TheBlueMatt
Copy link
Collaborator Author

CI Failures are just cause we need the cfg=c_bindings flag at compile time for this code.

@TheBlueMatt TheBlueMatt merged commit 80ea2e5 into lightningdevkit:0.0.104-bindings Dec 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants