Skip to content

Use correct types in LZMA comp/decomp#3497

Merged
yoniko merged 1 commit intofacebook:devfrom
Hello71:lzma-without-zlib
Feb 14, 2023
Merged

Use correct types in LZMA comp/decomp#3497
yoniko merged 1 commit intofacebook:devfrom
Hello71:lzma-without-zlib

Conversation

@Hello71
Copy link
Contributor

@Hello71 Hello71 commented Feb 11, 2023

Bytef and uInt are zlib types, not available when zlib is disabled

Fixes: 1598e6c ("Async write for decompression")
Fixes: cc0657f ("AsyncIO compression part 2 - added async read and asyncio to compression code (#3022)")

Bytef and uInt are zlib types, not available when zlib is disabled

Fixes: 1598e6c ("Async write for decompression")
Fixes: cc0657f ("AsyncIO compression part 2 - added async read and asyncio to compression code (facebook#3022)")
@Cyan4973
Copy link
Contributor

Thanks @Hello71 ,

I wonder if we should consider adding a test with lzma linking too,
since apparently this issue evaded CI attention.

yoniko added a commit to yoniko/zstd that referenced this pull request Feb 14, 2023
…sors and with no external compressors.

This is a sanity to make sure we don't introduce code dependencies on libraries that don't always exist (see facebook#3497 for an example bugfix for such issue).
@yoniko yoniko merged commit 886de7b into facebook:dev Feb 14, 2023
yoniko added a commit to yoniko/zstd that referenced this pull request Feb 14, 2023
…sors and with no external compressors.

This is a sanity to make sure we don't introduce code dependencies on libraries that don't always exist (see facebook#3497 for an example bugfix for such issue).
yoniko added a commit to yoniko/zstd that referenced this pull request Feb 14, 2023
…sors and with no external compressors.

This is a sanity to make sure we don't introduce code dependencies on libraries that don't always exist (see facebook#3497 for an example bugfix for such issue).
yoniko added a commit that referenced this pull request Feb 14, 2023
Implemented CI workflow for testing compilation with external compressors and without them. This serves as a sanity check to avoid any code dependencies on libraries that may not always be present. (Reference: #3497 for a bug fix related to this issue.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants