Prevent DebugAllocator from using Io
Ziggit
Prevent DebugAllocator from using Io
To run test on freestanding target, I have made my custom test_runner.zig based on simple test runner. In order to add memory leak detection report, I want to use DebugAllocator.detectLeaks Zig Documentation But this function log a lot of useful information in the console. This is indeed very useful for debugging, but freestanding target does not have an Io implementation. My first guess was to cherry-pick this function and remove all Io calls, but it is not possible since it rely on a lot of c...
0 comments
No comments yet.