expand zig nix workaround and update issue number

This commit is contained in:
Brendan Hansknecht 2024-12-11 21:31:56 -08:00
parent 7b39066593
commit 3790ddf743
No known key found for this signature in database
GPG key ID: 0EA784685083E75B
3 changed files with 8 additions and 4 deletions

View file

@ -1351,7 +1351,7 @@ fn run_build_command(mut command: Command, file_to_build: &str, flaky_fail_count
if !cmd_output.status.success() {
match std::str::from_utf8(&cmd_output.stderr) {
Ok(stderr) => {
// flaky error seen on macos 12 apple silicon, related to https://github.com/ziglang/zig/issues/9711
// flaky error seen on macos 12 apple silicon, related to https://github.com/ziglang/zig/issues/20501
if stderr.contains("unable to save cached ZIR code") {
if flaky_fail_counter < max_flaky_fail_count {
run_build_command(command, file_to_build, flaky_fail_counter + 1)