| ... | ... | @@ -591,16 +591,14 @@ fn buildOutputType( |
| 591 | 591 | }, |
| 592 | 592 | else => unreachable, |
| 593 | 593 | } |
| 594 | | // TODO finish self-hosted and add support for emitting C header files |
| 595 | | emit_h = .no; |
| 596 | | //switch (arg_mode) { |
| 597 | | // .build => switch (output_mode) { |
| 598 | | // .Exe => emit_h = .no, |
| 599 | | // .Obj, .Lib => emit_h = .yes_default_path, |
| 600 | | // }, |
| 601 | | // .translate_c, .zig_test, .run => emit_h = .no, |
| 602 | | // else => unreachable, |
| 603 | | //} |
| 594 | switch (arg_mode) { |
| 595 | .build => switch (output_mode) { |
| 596 | .Exe => emit_h = .no, |
| 597 | .Obj, .Lib => emit_h = .yes_default_path, |
| 598 | }, |
| 599 | .translate_c, .zig_test, .run => emit_h = .no, |
| 600 | else => unreachable, |
| 601 | } |
| 604 | 602 | |
| 605 | 603 | soname = .yes_default_value; |
| 606 | 604 | const args = all_args[2..]; |