-
Notifications
You must be signed in to change notification settings - Fork 24
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
Maintenance PR + Hotfix #154
Conversation
should only be present when that happens
for trimming comments thus they should be named as such
`STATUS_DLL_NOT_FOUND` error on Windows. It is something to do with paths. this rust-lang/cargo#6773 motivated the following change (I know...)
I've ended up adding a hotfix for the issue that @Ilia-Kosenkov have been hunting down. Needless to say, this should be removed in the future of course, once we get things patched upstream |
Temporarily fixes #151 |
Thanks for the great investigation! But, I see suspicious diffs on the bindings. I have no idea why the CI tests won't fail. Any ideas? |
No I don't. But I don't like this either.
I will export the `allowlist_pattern` lists and investigate if the
allowlist suddenly changed and in turn no longer contains the "good" stuff.
Unfortunately, this is somewhat cumbersome to do. But I'll get to it.
Do you know if the `/bindings` command invokes CI? Why not?
…On Tue, Apr 11, 2023 at 3:49 PM Hiroaki Yutani ***@***.***> wrote:
Thanks for the great investigation! But, I see suspicious diffs on the
bindings. I have no idea why the CI tests won't fail. Any ideas?
—
Reply to this email directly, view it on GitHub
<#154 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIDVSA2NOG2ETCYSQPPVLTXAVONPANCNFSM6AAAAAAWZP4ZPM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
It doesn't invoke the CI because the commit message contains "[skip ci]". And, sorry, I thought the CI checks with extendr so it would fail, but I was wrong here. |
While this passes CI, running Thus I need to investigate this.. Sorry for the inconvenience. |
Unfortunately, I do not have a path forward. Running this branch locally produces the bindings without the missing elements (atleast the one I sit on). I definitely need assistance on this :( |
Add information to the generated binding files
No matter what I do, I'm unable to replicate the generated file on my machine with the one provided by the CI. My version and the CI version agree on these
and still there are some items that appear in my generated bindings locally, that are not present in the CI. |
Ah, so maybe adding |
which depends on atleast `clang_3_7`, so that is added, but hopefully it doesn't interfer with `runtime`-feature.
I lost a lot of my day yesterday to this little... issue. I think what we have right now is as much as an official fix will look like. Not just a hotfix. |
/bindings |
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.
Amazing job, really well done! Thanks for also catching some annoying bugs, I'll definitely check it locally, especially whether the search path issue is resolved on Windows.
Feel free to resolve or reject the comments I left, they are mostly stylistic
@Ilia-Kosenkov can you confirm that I may merge this? |
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.
Great work, thanks!
UPDATE: This PR got a little out of hand, so here's a description on what it does.
get_non_api
is only used whenuse-bindgen
is enabled.RCallbacks
to reflect what they actually do right now, which is trimming the comments processed by clang, i.e.TrimCommentsCallbacks
..canonicalize
and it seems to fix it.0.64
.is_anonymous
check on the entities processed. This is necessary as some unamed itemsgets a name in llvm16, and that isn't handled in any meaningful way by
clang-rs
unfortunately. This requiresclang_3_7
atleast, which is also added.I spent a lot of time inside the
build.rs
file and found a few things.See the commit descriptions as well.
extendr/extendr
. (i.e. no missing stuff please!)