| ... | @@ -894,7 +894,7 @@ void codegen_link(CodeGen *g, const char *out_file) { | ... | @@ -894,7 +894,7 @@ void codegen_link(CodeGen *g, const char *out_file) { |
| 894 | Buf *o_file_path = g->link_objects.at(0); | 894 | Buf *o_file_path = g->link_objects.at(0); |
| 895 | int err; | 895 | int err; |
| 896 | if ((err = os_rename(o_file_path, &lj.out_file))) { | 896 | if ((err = os_rename(o_file_path, &lj.out_file))) { |
| 897 | zig_panic("unable to rename object file into final output: %s", err_str(err)); | 897 | zig_panic("unable to rename object file %s into final output %s: %s", buf_ptr(o_file_path), buf_ptr(&lj.out_file), err_str(err)); |
| 898 | } | 898 | } |
| 899 | } | 899 | } |
| 900 | return; | 900 | return; |