Merge pull request #1175 from bnoordhuis/zig-test-emit-switch

support --emit in 'test' command
master
Andrew Kelley 2018-06-29 18:39:19 -04:00 committed by GitHub
commit a3ab4325fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -924,6 +924,8 @@ int main(int argc, char **argv) {
codegen_print_timing_report(g, stdout);
return EXIT_SUCCESS;
} else if (cmd == CmdTest) {
codegen_set_emit_file_type(g, emit_file_type);
ZigTarget native;
get_native_target(&native);