about summary refs log tree commit diff
path: root/library/std/src/sys/net/hostname/mod.rs
blob: 8ffe4894d71819b28e7e01557c047498fe968163 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
cfg_select! {
    all(target_family = "unix", not(target_os = "espidf")) => {
        mod unix;
        pub use unix::hostname;
    }
    target_os = "windows" => {
        mod windows;
        pub use windows::hostname;
    }
    _ => {
        mod unsupported;
        pub use unsupported::hostname;
    }
}