Update jobserver-rs to 0.1.28
This commit is contained in:
parent
8fb67fb37f
commit
83f3bc4271
4 changed files with 8 additions and 5 deletions
|
@ -11,7 +11,7 @@ either = "1.0"
|
|||
elsa = "=1.7.1"
|
||||
ena = "0.14.2"
|
||||
indexmap = { version = "2.0.0" }
|
||||
jobserver_crate = { version = "0.1.27", package = "jobserver" }
|
||||
jobserver_crate = { version = "0.1.28", package = "jobserver" }
|
||||
libc = "0.2"
|
||||
measureme = "11"
|
||||
rustc-hash = "1.1.0"
|
||||
|
|
|
@ -23,7 +23,10 @@ static GLOBAL_CLIENT: LazyLock<Result<Client, String>> = LazyLock::new(|| {
|
|||
|
||||
if matches!(
|
||||
error.kind(),
|
||||
FromEnvErrorKind::NoEnvVar | FromEnvErrorKind::NoJobserver | FromEnvErrorKind::Unsupported
|
||||
FromEnvErrorKind::NoEnvVar
|
||||
| FromEnvErrorKind::NoJobserver
|
||||
| FromEnvErrorKind::NegativeFd
|
||||
| FromEnvErrorKind::Unsupported
|
||||
) {
|
||||
return Ok(default_client());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue