deadlock when zig test -lc
is run simultaneously with zig run -lc
#7659
Labels
Milestone
zig test -lc
is run simultaneously with zig run -lc
#7659
This came up when trying to hookup the new LLVM backend of the self-hosted compiler to the
test-stage2
.The tests runner of the CBE calls
zig run -lc
on the c code to execute it, however the tests are already executed withzig test <etc> -lc
which causes a deadlock inglibc.buildSharedObjects
:This can be reproduced as follows:
One terminal:
Then in the other terminal:
The text was updated successfully, but these errors were encountered: