❯ zig build test
❯ zig build test --release=fast
test
└─ run test 0/1 passed, 1 failed
error: 'main.test.parse optional' failed
error: while executing test 'main.test.parse optional', the following test command failed:
/Users/leki/temp/zig/.zig-cache/o/d91ddfd592627a7bc8c892de1cb37bab/test --listen=-
Build Summary: 1/3 steps succeeded; 1 failed; 0/1 tests passed; 1 failed (disable with --summary none)
test transitive failure
└─ run test 0/1 passed, 1 failed
error: the following build command failed with exit code 1:
/Users/leki/temp/zig/.zig-cache/o/c54e788abb8f5b1baf72e7ee2970d86b/build /opt/homebrew/Cellar/zig/0.13.0/bin/zig /Users/leki/temp/zig /Users/leki/temp/zig/.zig-cache /Users/leki/.cache/zig --seed 0xc50410e9 -Zd6d41f6c26d96811 test --release=fast
Parsing optionals fail at runtime when we use ReleaseFast optimization.
Running the tests: