dangling directories are a windows thing

This commit is contained in:
Pat Hickey
2021-01-28 12:58:41 -08:00
parent 4801ea04a1
commit 34ad8df169
5 changed files with 29 additions and 36 deletions

View File

@@ -34,7 +34,8 @@ pub fn instantiate(data: &[u8], bin_name: &str, workspace: Option<&Path>) -> any
.env("ERRNO_MODE_WINDOWS", "1")?
.env("NO_DANGLING_SYMLINKS", "1")?
.env("NO_FD_ALLOCATE", "1")?
.env("NO_RENAME_DIR_TO_EMPTY_DIR", "1")?;
.env("NO_RENAME_DIR_TO_EMPTY_DIR", "1")?
.env("NO_DANGLING_DIRECTORY", "1")?;
}
#[cfg(unix)]
{