Skip to content

Commit

Permalink
Fall back on remove dir implementation for vxworks
Browse files Browse the repository at this point in the history
  • Loading branch information
B I Mohammed Abbas committed Jul 3, 2024
1 parent a0a438a commit 2a81053
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion std/src/sys/pal/unix/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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 {
Expand Down

0 comments on commit 2a81053

Please sign in to comment.