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

Zig tracking issue #17

Open
2 tasks
dweiller opened this issue Oct 22, 2023 · 0 comments
Open
2 tasks

Zig tracking issue #17

dweiller opened this issue Oct 22, 2023 · 0 comments

Comments

@dweiller
Copy link
Owner

This is a list of Zig issues affecting zimalloc development:

  • cannot cross compile linux -> windows with an extern declaration for VirtualAlloc2, likely due to the included mingw not exporting it in the .def files other than for arm32. The latest mingw release does not include VirtualAlloc2 in .def files for other platforms but a recent patch to mingw-w64 does include it.
  • struct sizes > 2 ^ 31 cause problems and require workarounds; wanting structs of this size might just be a niche use-case that isn't going to be supported (see crash with struct size exceeding u32 ziglang/zig#17664 for upstream issue).
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

No branches or pull requests

1 participant