1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//! Default virtual package versions to use when the actual version cannot be
//! detected from the host system, for example when detecting virtual packages
//! for a platform other than the current one (see
//! [`crate::VirtualPackages::detect_for_platform`]).
use ;
/// The default `glibc` version to use when the version cannot be detected.
///
/// This is the `glibc` version that ships with RHEL 8 and Debian 10, except for
/// platforms that never had a `glibc` that old: `riscv64` support only landed in
/// `glibc` 2.27 upstream, and conda-forge builds for `linux-riscv64` against
/// 2.39, so assuming 2.28 there makes every package look uninstallable.
/// The default Linux kernel version to use when the version cannot be
/// detected.
///
/// This is the kernel version that ships with RHEL 8.
/// The default Windows version to use when the version cannot be detected.
/// Returns the default macOS version to use when the version cannot be
/// detected, or `None` if the given platform is not a macOS platform.