-
Notifications
You must be signed in to change notification settings - Fork 3
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
feat: Also return the interface name #11
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #11 +/- ##
==========================================
+ Coverage 93.05% 93.24% +0.18%
==========================================
Files 1 1
Lines 144 222 +78
==========================================
+ Hits 134 207 +73
- Misses 10 15 +5 ☔ View full report in Codecov by Sentry. |
Co-authored-by: Max Inden <mail@max-inden.de>
@djc so how do I now get updated Windows bindings when I need to add support for a new function? I don't have access to a Windows machine to run bindgen. |
I did it via CI, which will print the newly generated bindings when the comparison fails -- but you have to get the integration test to run, which only happens when the library compiles. Might be an option to put the codegen in a separate crate to make that easier... |
Hm. This is getting complex fast. I'm tempted to revert #14 and just go back to what we had before... |
If you just make a separate branch/PR that adds the newly required symbols only in the codegen test, that should make things easier. |
Could we run bindgen in |
Like the previous approach, that optimizes for the maintainers at the expense of every downstream build ever, which doesn't seem like a good trade-off to me. |
The "separate PR" thing worked, thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Definitely in favor of returning a UTF-8 String over a hash.
No description provided.