Skip to content

Commit

Permalink
We don't need to preopen mounted directories
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-F-Bryan committed Nov 23, 2023
1 parent fc8c6a7 commit c1cdff0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/wasix/src/runners/wasi_common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,6 @@ fn build_directory_mappings(
root_fs
.mount(guest_path.clone(), fs, "/".into())
.with_context(|| format!("Unable to mount \"{}\"", guest_path.display()))?;

builder
.add_preopen_dir(&guest_path)
.with_context(|| format!("Unable to preopen \"{}\"", guest_path.display()))?;
}
}

Expand Down

0 comments on commit c1cdff0

Please sign in to comment.