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

cdylib cleanup #256

Merged
merged 2 commits into from
Dec 3, 2024
Merged

cdylib cleanup #256

merged 2 commits into from
Dec 3, 2024

Conversation

folkertdev
Copy link
Collaborator

No description provided.

Copy link

codecov bot commented Dec 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

see 2 files with indirect coverage changes

libz-rs-sys-cdylib/zpipe.c Outdated Show resolved Hide resolved
libz-rs-sys-cdylib/zpipe.c Outdated Show resolved Hide resolved
libz-rs-sys-cdylib/zpipe.c Outdated Show resolved Hide resolved
#else
strm.zalloc = NULL;
strm.zfree = NULL;
#endif
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unconditionally using custom_zalloc/custom_zfree would be fine too, right?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it would work, but we use this test for running the various allocators in CI

@folkertdev folkertdev merged commit f90e45c into main Dec 3, 2024
20 checks passed
@folkertdev folkertdev deleted the cdylib-cleanup branch December 3, 2024 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants