| 1 | cfg_select! { |
|---|---|
| 2 | all(target_family = "unix", not(target_os = "espidf")) => { |
| 3 | mod unix; |
| 4 | pub use unix::hostname; |
| 5 | } |
| 6 | target_os = "windows"=> { |
| 7 | mod windows; |
| 8 | pub use windows::hostname; |
| 9 | } |
| 10 | _ => { |
| 11 | mod unsupported; |
| 12 | pub use unsupported::hostname; |
| 13 | } |
| 14 | } |
| 15 |
