-
Notifications
You must be signed in to change notification settings - Fork 77
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
Update zlib-ng to 2.1.3 #133
Conversation
Hm, I'm not sure if it's the fault of ctest but CI fails: D:\a\libz-sys\libz-sys\target\x86_64-pc-windows-msvc\debug\build\systest-zng-5622f69de174c92e\out\all.c(1295): warning C4047: 'return': 'int (__cdecl *)(zng_streamp,int,const char *,int)' differs in levels of indirection from 'int'
D:\a\libz-sys\libz-sys\target\x86_64-pc-windows-msvc\debug\build\systest-zng-5622f69de174c92e\out\all.c(1300): error C2065: 'zng_deflateInit2_': undeclared identifier
D:\a\libz-sys\libz-sys\target\x86_64-pc-windows-msvc\debug\build\systest-zng-5622f69de174c92e\out\all.c(1300): warning C4047: 'return': 'int (__cdecl *)(zng_streamp,int,int,int,int,int,const char *,int)' differs in levels of indirection from 'int'
D:\a\libz-sys\libz-sys\target\x86_64-pc-windows-msvc\debug\build\systest-zng-5622f69de174c92e\out\all.c(1350): error C2065: 'zng_inflateBackInit_': undeclared identifier
D:\a\libz-sys\libz-sys\target\x86_64-pc-windows-msvc\debug\build\systest-zng-5622f69de174c92e\out\all.c(1350): warning C4047: 'return': 'int (__cdecl *)(zng_streamp,int,unsigned char *,const char *,int)' differs in levels of indirection from 'int'
D:\a\libz-sys\libz-sys\target\x86_64-pc-windows-msvc\debug\build\systest-zng-5622f69de174c92e\out\all.c(1370): error C2065: 'zng_inflateInit_': undeclared identifier
D:\a\libz-sys\libz-sys\target\x86_64-pc-windows-msvc\debug\build\systest-zng-5622f69de174c92e\out\all.c(1370): warning C4047: 'return': 'int (__cdecl *)(zng_streamp,const char *,int)' differs in levels of indirection from 'int'
D:\a\libz-sys\libz-sys\target\x86_64-pc-windows-msvc\debug\build\systest-zng-5622f69de174c92e\out\all.c(1375): error C2065: 'zng_inflateInit2_': undeclared identifier
D:\a\libz-sys\libz-sys\target\x86_64-pc-windows-msvc\debug\build\systest-zng-5622f69de174c92e\out\all.c(1375): warning C4047: 'return': 'int (__cdecl *)(zng_streamp,int,const char *,int)' differs in levels of indirection from 'int' |
Thanks for the update! I am quite new here and am as puzzled as you why these symbols would go missing all of the sudden. Is this something that reproduces locally? |
fd34141
to
dde2cdb
Compare
Build tests fixed, but I am not 100 % sure if everything is correct. Can you please check it before merging? |
Thanks so much! CI is happy now and I wonder if that's all we need. Maybe there is other (avoidable) compatibility problems that arise when this crate is used by |
1688401
to
76c6f33
Compare
76c6f33
to
502c241
Compare
FYI, zlib-ng 2.1.3, which has now been released, is also marked as stable. |
I'd be the first to want to merge this, and it all looks good to me, but that doesn't mean much. |
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.
I decided to fix my one issue, which was running tests through flate2
. It turned out that what's on main doesn't actually compile for me, at least not on MacOS, whereas this branch works just fine. All flate2
tests pass, and I wonder if I should adjust the CI to test libz-sys
and libz-ng-sys
with the latest version of flate2
as well.
That way we could be more confident that nothing is broken, at least according to one of the main consumers of this crate.
In any case, I'd be willing to merge now.
With the additional testing in 5f2cf8d it turns out that what's in this PR is actually working with Thus I will merge this PR now and see that I create a new point release. |
A new release was published. |
zlib-ng 2.1.2 is the first stable release of the 2.1.x branch.
Most important optimizations and Enhancements:
Full changelog