Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In the case that swiftc crashed, the worker would return that it exited 0. This was because calling WEXITSTATUS when WIFEXITED is not true is invalid and happened to return 0 in that case. We now handle the case where swiftc exits from a signal, and return the signal it exited with instead. There might be some other cases here that we have to handle in the future, so for now those are failures so we don't return an invalid value. Also see bazelbuild/bazel#14543
- Loading branch information