Skip to content

Commit b1c212f

Browse files
committed
Fix broken STD build for ESP-IDF
1 parent fa3155a commit b1c212f

File tree

1 file changed

+1
-1
lines changed
  • library/std/src/sys/net/hostname

1 file changed

+1
-1
lines changed

library/std/src/sys/net/hostname/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
cfg_select! {
2-
target_family = "unix" => {
2+
all(target_family = "unix", not(target_os = "espidf")) => {
33
mod unix;
44
pub use unix::hostname;
55
}

0 commit comments

Comments
 (0)