Skip to content

Conversation

BarabasGitHub
Copy link
Contributor

It was broken when trying to allocate with something other than the native type's alignment because it called alloc instead of alignedAlloc. I also fixed up the unit tests to actually test (I think) all the functionality of the allocator.

Verified

This commit was signed with the committer’s verified signature.
brandonkelly Brandon Kelly

Verified

This commit was signed with the committer’s verified signature.
brandonkelly Brandon Kelly
@andrewrk andrewrk merged commit 91636f1 into ziglang:master Jul 14, 2018
@andrewrk
Copy link
Member

wonderful, thank you 👍

@BarabasGitHub BarabasGitHub deleted the fix-reallocating-from-0 branch July 15, 2018 09:19
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.

None yet

2 participants