-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
rust: compatibility with cbindgen 0.27 #11622
Conversation
Ticket: 7206 Cbindgen 0.27 now handles extern blocks as extern "C" blocks. The way to differentiate them is to use a special comment before the block.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #11622 +/- ##
==========================================
+ Coverage 82.52% 82.61% +0.09%
==========================================
Files 919 919
Lines 248997 248997
==========================================
+ Hits 205480 205717 +237
+ Misses 43517 43280 -237
Flags with carried forward coverage won't be shown. Click here to find out more. |
I think CIFuzz tries first to build master before building this PR... |
See also google/oss-fuzz#12336 |
// Allow /// cbindgen:ignore comments on extern blocks | ||
// cf https://github.com/mozilla/cbindgen/issues/709 | ||
#![allow(unused_doc_comments)] |
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.
Annoying that this is required.
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.
Maybe we can have these individually and not globally..?
Information: QA ran without warnings. Pipeline 22077 |
Link to ticket: https://redmine.openinfosecfoundation.org/issues/
https://redmine.openinfosecfoundation.org/issues/7206
Describe changes:
Should make CI green again