Snaipe / Criterion

A cross-platform C and C++ unit testing framework for the 21st century
MIT License
1.94k stars 176 forks source link

libgit2 has been updated to version 1.7.0 #509

Closed LeChatP closed 9 months ago

LeChatP commented 10 months ago

Hello, I have recently noticed that Libgit2 has been updated to version 1.7.0, and unfortunately, the compiler has not declared Criterion as compatible. I was wondering if you have any information on whether Criterion will be compatible or not. Or should we stick to the previous version? Please note that I am using ArchLinux. Thank you!

pauljoohyunkim commented 10 months ago

I was facing the same issue.

A similar issue was mentioned in an older comment in criterion AUR page.

Full recompilation seems to have fixed the issue for me. (Simplest way would be to uninstall, remove cache, then reinstall?)

MrAnno commented 9 months ago

Please reopen the issue if recompiling the Criterion AUR package doesn't solve your issue.

You just have to recompile Criterion when one of its updated dependencies has an ABI change. For example:

paru -S --rebuild criterion