mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 12:18:19 +00:00
expand zig nix workaround and update issue number
This commit is contained in:
parent
7b39066593
commit
3790ddf743
3 changed files with 8 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue