diff options
| author | B I Mohammed Abbas <bimohammdabbas@gmail.com> | 2024-07-01 10:33:27 +0530 |
|---|---|---|
| committer | B I Mohammed Abbas <bimohammdabbas@gmail.com> | 2024-07-03 11:46:24 +0530 |
| commit | a6c03ae6fe3dd93146be3a1f7fd65ccd58e3ab67 (patch) | |
| tree | 49b83ffc2e446c165d295909f10b6473b60104e4 | |
| parent | 9732251e5f36772bb030ec4e3b8f6fc4f8371eec (diff) | |
| download | rust-a6c03ae6fe3dd93146be3a1f7fd65ccd58e3ab67.tar.gz rust-a6c03ae6fe3dd93146be3a1f7fd65ccd58e3ab67.zip | |
Fall back on remove dir implementation for vxworks
| -rw-r--r-- | library/std/src/sys/pal/unix/fs.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/library/std/src/sys/pal/unix/fs.rs b/library/std/src/sys/pal/unix/fs.rs index 92c76ec4303..f9d6b5fbc86 100644 --- a/library/std/src/sys/pal/unix/fs.rs +++ b/library/std/src/sys/pal/unix/fs.rs @@ -1976,13 +1976,14 @@ pub fn chroot(dir: &Path) -> io::Result<()> { pub use remove_dir_impl::remove_dir_all; -// Fallback for REDOX, ESP-ID, Horizon, Vita and Miri +// Fallback for REDOX, ESP-ID, Horizon, Vita, Vxworks and Miri #[cfg(any( target_os = "redox", target_os = "espidf", target_os = "horizon", target_os = "vita", target_os = "nto", + target_os = "vxworks", miri ))] mod remove_dir_impl { @@ -1996,6 +1997,7 @@ mod remove_dir_impl { target_os = "horizon", target_os = "vita", target_os = "nto", + target_os = "vxworks", miri )))] mod remove_dir_impl { |
