mirror of
https://github.com/astral-sh/uv.git
synced 2025-09-04 17:50:34 +00:00
Add dedicated error message for musl install attempts (#9430)
Until https://github.com/astral-sh/uv/issues/6890 is fixed, it seems nice to explain that we do not support it rather than the generic message in https://github.com/astral-sh/uv/issues/9428
This commit is contained in:
parent
c94777fc54
commit
de84a897a1
2 changed files with 17 additions and 2 deletions
|
@ -49,6 +49,10 @@ impl Libc {
|
|||
_ => Ok(Self::None),
|
||||
}
|
||||
}
|
||||
|
||||
pub fn is_musl(&self) -> bool {
|
||||
matches!(self, Self::Some(target_lexicon::Environment::Musl))
|
||||
}
|
||||
}
|
||||
|
||||
impl FromStr for Libc {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue