Skip to content

Commit 05d6270

Browse files
committed
Fix ESP IDF build broken by rust-lang#124210
1 parent d43f05d commit 05d6270

File tree

1 file changed

+1
-0
lines changed
  • std/src/sys/pal/unix

1 file changed

+1
-0
lines changed

std/src/sys/pal/unix/fs.rs

+1
Original file line numberDiff line numberDiff line change
@@ -893,6 +893,7 @@ impl Drop for Dir {
893893
target_os = "nto",
894894
target_os = "vita",
895895
target_os = "hurd",
896+
target_os = "espidf",
896897
)))]
897898
{
898899
let fd = unsafe { libc::dirfd(self.0) };

0 commit comments

Comments
 (0)