Sign in
rust
/
rust
/
refs/heads/cargo_update
/
.
/
library
/
std
/
src
/
sys
/
net
/
hostname
/
mod.rs
blob: 8ffe4894d71819b28e7e01557c047498fe968163 [
file
] [
log
] [
blame
] [
edit
]
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
;
}
}