From e3ad13e05425b3afc9dbac19438ee8a978dcd1e8 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Sun, 15 Oct 2017 20:15:01 -0400 Subject: fix windows argument parsing --- src/codegen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/codegen.cpp') diff --git a/src/codegen.cpp b/src/codegen.cpp index 1b80ed6b33..5168a55fab 100644 --- a/src/codegen.cpp +++ b/src/codegen.cpp @@ -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); -- cgit v1.2.3