Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix aligned reallocation #1237

Merged
merged 2 commits into from Jul 14, 2018

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.

@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