diff --git a/lib/wasix/src/runners/wasi_common.rs b/lib/wasix/src/runners/wasi_common.rs index 1f499e04c91..1d6e585a899 100644 --- a/lib/wasix/src/runners/wasi_common.rs +++ b/lib/wasix/src/runners/wasi_common.rs @@ -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()))?; } }