mod.rs - source
Description: Source of the Rust file `library/std/src/sys/platform_version/mod.rs`.

#
std/sys/platform_version/
mod.rs

    1//! Runtime lookup of operating system / platform version.
    2//!
    3//! Related to [RFC 3750](https://github.com/rust-lang/rfcs/pull/3750), which
    4//! does version detection at compile-time.
    5//!
    6//! See also the `os_info` crate.
    7
    8#[cfg(target_vendor = "apple")]
    9mod darwin;
    10
    11// In the future, we could expand this module with:
    12// - `RtlGetVersion` on Windows.
    13// - `__system_property_get` on Android.