mw99 / DataCompression

Swift libcompression wrapper as an extension for the Data type (GZIP, ZLIB, LZFSE, LZMA, LZ4, deflate, RFC-1950, RFC-1951, RFC-1952)
Apache License 2.0
286 stars 57 forks source link

Swift 5.7 Runtime error in withMemoryRebound #30

Closed bentumbler closed 2 years ago

bentumbler commented 2 years ago

I have been using this library until now but it will no longer run under Swift 5.7 because .withMemoryRebound has been updated. https://github.com/apple/swift-evolution/blob/main/proposals/0333-with-memory-rebound.md

It would be great to get an update to be Swift 5.7 compatible.

Thanks

mw99 commented 2 years ago

Thanks for the information. I haven't noticed it until yet. Will push a fix in the next days.

mw99 commented 2 years ago

Hi again. Should be fixed with release 3.7.0.