Skip to content

Commit 2a81053

Browse files
author
B I Mohammed Abbas
committed
Fall back on remove dir implementation for vxworks
1 parent a0a438a commit 2a81053

File tree

1 file changed

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

1 file changed

+3
-1
lines changed

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

+3-1
Original file line numberDiff line numberDiff line change
@@ -1976,13 +1976,14 @@ pub fn chroot(dir: &Path) -> io::Result<()> {
19761976

19771977
pub use remove_dir_impl::remove_dir_all;
19781978

1979-
// Fallback for REDOX, ESP-ID, Horizon, Vita and Miri
1979+
// Fallback for REDOX, ESP-ID, Horizon, Vita, Vxworks and Miri
19801980
#[cfg(any(
19811981
target_os = "redox",
19821982
target_os = "espidf",
19831983
target_os = "horizon",
19841984
target_os = "vita",
19851985
target_os = "nto",
1986+
target_os = "vxworks",
19861987
miri
19871988
))]
19881989
mod remove_dir_impl {
@@ -1996,6 +1997,7 @@ mod remove_dir_impl {
19961997
target_os = "horizon",
19971998
target_os = "vita",
19981999
target_os = "nto",
2000+
target_os = "vxworks",
19992001
miri
20002002
)))]
20012003
mod remove_dir_impl {

0 commit comments

Comments
 (0)