Skip to content

Commit b66b321

Browse files
committed
Fix broken STD build for ESP-IDF
1 parent d153b38 commit b66b321

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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)