Refactor os, arch, and libc information into a shared Platform type (#15027)
Addresses this outstanding item from a previous review https://github.com/astral-sh/uv/pull/13724#discussion_r2114867288 I'm interested in this now for consolidating some logic in #12731
This commit is contained in:
@@ -350,7 +350,7 @@ fn python_executables_from_installed<'a>(
|
||||
debug!("Skipping managed installation `{installation}`: does not satisfy `{version}`");
|
||||
return false;
|
||||
}
|
||||
if !platform.matches(installation.key()) {
|
||||
if !platform.matches(installation.platform()) {
|
||||
debug!("Skipping managed installation `{installation}`: does not satisfy `{platform}`");
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user