| author | |
| committer | |
| log | 7a3dabdc4738c2816bede92571ccdf481d400997 |
| tree | f83504a912801c2568dd7079339b47c160c3b799 |
| parent | 986a30e373f6b2f0da2de64570013c83cacc17b6 |
build runner is always compiled in debug mode, so the switch on
optimization here was silly.1 files changed, 4 insertions(+), 5 deletions(-)
lib/build_runner.zig+4-5| ... | ... | @@ -644,9 +644,8 @@ fn argsRest(args: [][]const u8, idx: usize) ?[][]const u8 { |
| 644 | 644 | } |
| 645 | 645 | |
| 646 | 646 | fn cleanExit() void { |
| 647 | if (builtin.mode == .Debug) { | |
| 648 | return; | |
| 649 | } else { | |
| 650 | process.exit(0); | |
| 651 | } | |
| 647 | // Perhaps in the future there could be an Advanced Options flag such as | |
| 648 | // --debug-build-runner-leaks which would make this function return instead | |
| 649 | // of calling exit. | |
| 650 | process.exit(0); | |
| 652 | 651 | } |