Skip to content
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

configure: require minimum version of cbindgen to be 0.26.0 #12577

Closed
wants to merge 1 commit into from

Conversation

jasonish
Copy link
Member

I'm not sure why, but 0.20.0 works on Fedora with Rust 1.75.0
installed via Rustup, but it does not work on Ubuntu 22.04 with Rust
installed by system packages.

However, cbindgen 0.26.0 works in both scenarios.

@jasonish jasonish requested a review from a team as a code owner February 13, 2025 17:41
Copy link

codecov bot commented Feb 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.71%. Comparing base (3831843) to head (83f90ff).

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #12577      +/-   ##
==========================================
- Coverage   80.72%   80.71%   -0.01%     
==========================================
  Files         929      929              
  Lines      259062   259062              
==========================================
- Hits       209119   209112       -7     
- Misses      49943    49950       +7     
Flag Coverage Δ
fuzzcorpus 56.96% <ø> (+0.01%) ⬆️
livemode 19.39% <ø> (ø)
pcap 44.17% <ø> (-0.02%) ⬇️
suricata-verify 63.41% <ø> (+0.03%) ⬆️
unittests 58.36% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

0.10.0 doesn't work anymore. In some combinations 0.20.0 doesn't work
either, however it does work in our CI jobs.
@jasonish jasonish marked this pull request as draft February 13, 2025 19:24
@jasonish
Copy link
Member Author

Back to draft. Pushing min version down to 0.20.0, while it does fail in some combinations with rustc, apparently it does work in all our CI jobs that still use 0.20.0 (or 0.24.x).

@jasonish
Copy link
Member Author

Replaced by #12582

@jasonish jasonish closed this Feb 14, 2025
@jasonish jasonish deleted the cbindgen-min/v1 branch February 17, 2025 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant