memorysafety / zlib-rs

A safer zlib
zlib License
75 stars 6 forks source link

a better rust allocator #77

Closed folkertdev closed 4 months ago

folkertdev commented 4 months ago

uses opaque and some internal knowledge to pass the size of the allocation to the rust system allocator. Still ensures an alignment of 64 bytes

codecov[bot] commented 4 months ago

Codecov Report

Attention: Patch coverage is 96.42857% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 88.88%. Comparing base (395a615) to head (159abe9). Report is 1 commits behind head on main.

Files Patch % Lines
zlib-rs/src/allocate.rs 95.45% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #77 +/- ## ========================================== - Coverage 88.89% 88.88% -0.01% ========================================== Files 34 34 Lines 8831 8837 +6 ========================================== + Hits 7850 7855 +5 - Misses 981 982 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.