Closed ziontee113 closed 5 months ago
Are you sure you are using the latest main
of neotest-zig and don't have any local changes?
This commit https://github.com/lawrence-laz/neotest-zig/commit/72a508ae56862419a04aac3723176c82ff6ca49b addressed this issue for both Zig v0.13 and v0.12.
Looking at stack trace it seems like the new function, which was introduced in the mentioned commit, was not called in your case.
Sorry it's my bad. I only removed the commit lock option in my config without actually update the plugin :sweat_smile:.
I updated neotest-zig
properly and everything's working.
Thank you very much!
Describe the bug I updated Zig and ZLS today both to version 0.13, I tried to run tests on a file and got this error:
Solution
In
neotest_runner.zig
:defer std.debug.getStderrMutex().unlock();
withdefer std.debug.unlockStdErr();
std.debug.getStderrMutex().lock();
withstd.debug.lockStdErr();