fix windows argument parsing

This commit is contained in:
Andrew Kelley committed 2017-10-15 20:19:15 -04:00
1 parent f87f98015c
commit e3ad13e054
5 files changed
+27 -16

No files matched your search

+1 -1
View File
@@ -4436,7 +4436,7 @@ static void do_code_gen(CodeGen *g) {
if (ZigLLVMTargetMachineEmitToFile(g->target_machine, g->module, buf_ptr(output_path),
LLVMObjectFile, &err_msg, g->build_mode == BuildModeDebug))
{
zig_panic("unable to write object file: %s", err_msg);
zig_panic("unable to write object file %s: %s", buf_ptr(output_path), err_msg);
}
validate_inline_fns(g);