You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
build.zig: StdIoAction limits make, which executes *RunStep
requires comptime-selection of string compare function, which is currently not possible in libstd.
child_process.zig ExecResult we can not reuse dependency resolving
src/test.zig is not usable and neither has custom string matching
possible solutions:
comptime-selection of user-provided function in build.zig for the stuff in make() of RunStep.zig
work around with 1 level of indirection and more code
own build runner
own test runner (lib)
Long-term goal is to have parallelization and user-configuration of zig test_runner, which does step 2.
However, writing the test cases into test-blocks feels like an aweful hack and having an idea how to make it in build.zig is needed eventually anyway.
The text was updated successfully, but these errors were encountered:
The other open question is, if Zig should have stuff for testing build.zig inside build.zig (temporary files/persistent files) and/or how to combine the autodoc system with that.
build.zig: StdIoAction limits make, which executes *RunStep
requires comptime-selection of string compare function, which is currently not possible in libstd.
child_process.zig ExecResult we can not reuse dependency resolving
src/test.zig is not usable and neither has custom string matching
possible solutions:
make()
ofRunStep.zig
Long-term goal is to have parallelization and user-configuration of zig
test_runner
, which does step 2.However, writing the test cases into
test
-blocks feels like an aweful hack and having an idea how to make it in build.zig is needed eventually anyway.The text was updated successfully, but these errors were encountered: