fix windows argument parsing

This commit is contained in:
Andrew Kelley
2017-10-15 20:15:01 -04:00
parent f87f98015c
commit e3ad13e054
5 changed files with 27 additions and 16 deletions

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);