Skip to content

Commit

Permalink
Fix the flock fallback implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorn3 authored Aug 15, 2021
1 parent 58d685e commit 21f07b5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions compiler/rustc_data_structures/src/flock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,10 @@ cfg_if! {
let msg = "file locks not supported on this platform";
Err(io::Error::new(io::ErrorKind::Other, msg))
}

pub fn error_unsupported(_err: &io::Error) -> bool {
true
}
}
}
}

0 comments on commit 21f07b5

Please sign in to comment.