From 57e48b019698769b4f41346d438cf23187248785 Mon Sep 17 00:00:00 2001 From: Aphek Date: Sun, 9 Aug 2026 21:03:43 -0300 Subject: [PATCH] Fix references to unsupported on sys::paths::unix These were broken by PR https://github.com/rust-lang/rust/pull/150885, commit f2dd93228abcf29ab85960457df7a6f828eb3cb9 --- library/std/src/sys/paths/unix.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/std/src/sys/paths/unix.rs b/library/std/src/sys/paths/unix.rs index 7d916b843f24e..e023451b13c8c 100644 --- a/library/std/src/sys/paths/unix.rs +++ b/library/std/src/sys/paths/unix.rs @@ -47,7 +47,7 @@ pub fn getcwd() -> io::Result { #[cfg(target_os = "espidf")] pub fn chdir(_p: &path::Path) -> io::Result<()> { - crate::sys::pal::unsupported::unsupported() + crate::sys::pal::unsupported() } #[cfg(not(target_os = "espidf"))] @@ -385,7 +385,7 @@ pub fn current_exe() -> io::Result { #[cfg(any(target_os = "espidf", target_os = "horizon", target_os = "vita"))] pub fn current_exe() -> io::Result { - crate::sys::pal::unsupported::unsupported() + crate::sys::pal::unsupported() } #[cfg(target_os = "fuchsia")]