≈ the.bay.news

Std.testing.allocator causes my tests to hang

Ziggit
Std.testing.allocator causes my tests to hang
Hi! I don’t know if I’m missing something or if I found a regression in zig 0.17. I have a project where everything worked on zig 0.16, but after upgrading the project to 0.17, my tests hangs, never finishing or even crashing. I found that making a DebugAllocator that I instantiate myself solves the problem before realizing that it’s not the same type. I thought it may be an issue in my code but it happens in std.json.parseFromSlice and other seemingly random places where I use the allocator. ...

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.