Closed nathaniel-daniel closed 10 months ago
Fixes #87 Fixes #96
I was able to replicate and fix the test case from https://github.com/purpleprotocol/mimalloc_rust/issues/87#issuecomment-1690419508. However, I wasn't able to replicate the problem from https://github.com/purpleprotocol/mimalloc_rust/issues/96#issue-1778121788, as I don't know the exact versions of the dependencies used. The issue seems related though (secure mode, misaligned allocations) and the alternative crate seems to just use mi_aligned_alloc for everything as well.
mi_aligned_alloc
Fixes #87 Fixes #96
I was able to replicate and fix the test case from https://github.com/purpleprotocol/mimalloc_rust/issues/87#issuecomment-1690419508. However, I wasn't able to replicate the problem from https://github.com/purpleprotocol/mimalloc_rust/issues/96#issue-1778121788, as I don't know the exact versions of the dependencies used. The issue seems related though (secure mode, misaligned allocations) and the alternative crate seems to just use
mi_aligned_alloc
for everything as well.