aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/llvm.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-10-27 15:28:33 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-10-27 15:28:33 -0700
commite02caa7e2909c0ae7f7e8ea1378d78e0469b9ff8 (patch)
tree93bad2e6c3111bdc47b205a462585d30c79863dc /src/codegen/llvm.zig
parent6504c57176a2a7def07c975af693940fe351bb19 (diff)
downloadzig-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/codegen/llvm.zig')
0 files changed, 0 insertions, 0 deletions