diff options
author | Manlio Perillo <manlio.perillo@gmail.com> | 2023-04-17 15:52:57 +0200 |
---|---|---|
committer | Manlio Perillo <manlio.perillo@gmail.com> | 2023-04-18 12:57:03 +0200 |
commit | c6e055dd8340981b4eedec5b6a41b944caf9c722 (patch) | |
tree | c76105c6b5603d995bcf0198a959377ef0b69f30 /exercises/010_if2.zig | |
parent | b39c7e61ef3d0b2ac28a2ce70ef549f2fac834b1 (diff) |
build: don't print errors in ZiglingStep.eval
Move the code for printing compiler errors and messages to the new
ZiglingStep.printErrors method.
Call printErrors in the Zigling.doCompile method, both in the normal and
error flow.
When handling an error from the Zig IPC, add the case when the compiler
was unable to return the executable path.
Before using the IPC, the error was
"The following command exited with error code 1"
now it is
"The following command failed to communicate the compilation result"
Diffstat (limited to 'exercises/010_if2.zig')
0 files changed, 0 insertions, 0 deletions