diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-10-27 15:28:33 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-10-27 15:28:33 -0700 |
| commit | e02caa7e2909c0ae7f7e8ea1378d78e0469b9ff8 (patch) | |
| tree | 93bad2e6c3111bdc47b205a462585d30c79863dc /src/type.zig | |
| parent | 6504c57176a2a7def07c975af693940fe351bb19 (diff) | |
| download | zig-e02caa7e2909c0ae7f7e8ea1378d78e0469b9ff8.tar.gz zig-e02caa7e2909c0ae7f7e8ea1378d78e0469b9ff8.zip | |
zig test: when -ofmt=c, default to `zig run` as test exec
Previously when running `zig test` with the C backend, it would return
`error.InvalidExe` because it would try to run the C code source file as
a binary. Now, by default, it will try to run it with
`zig run -lc foo.c` and this can be overridden with the standard
`--test-cmd` flags.
Diffstat (limited to 'src/type.zig')
0 files changed, 0 insertions, 0 deletions
