aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-10-30 15:44:58 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-10-30 15:44:58 -0700
commit9b54c9dee8a571f1c821b3eb4ee3d2c713cf63fa (patch)
treef24ec417b12c1a964eee9a15adbc5454adcd7332 /doc
parent8caed4846018cd185b632bc884c7df81b8dd39dc (diff)
downloadzig-9b54c9dee8a571f1c821b3eb4ee3d2c713cf63fa.tar.gz
zig-9b54c9dee8a571f1c821b3eb4ee3d2c713cf63fa.zip
zig test: forward target CLI args to zig run when using -ofmt=c
Previously, if you used `zig test -ofmt=c -target foobar` then Zig would try to compile the generated C code with the native target instead of "foobar". With this change, `--test-cmd` with e.g. QEMU still won't work, but at least the binary will get compiled for the correct target.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions