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

Projects
None yet
2 participants
@BarabasGitHub
Contributor

BarabasGitHub commented Jul 14, 2018

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

0 of 2 checks passed

continuous-integration/appveyor/pr Waiting for AppVeyor build to complete
Details
continuous-integration/travis-ci/pr The Travis CI build is in progress
Details
@andrewrk

This comment has been minimized.

Member

andrewrk commented Jul 14, 2018

wonderful, thank you 👍

@BarabasGitHub BarabasGitHub deleted the BarabasGitHub:fix-reallocating-from-0 branch Jul 15, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment