Fix merge

This commit is contained in:
Mark McCaskey 2019-10-03 11:58:06 -07:00
parent 689bdd08a1
commit bfb9d3849c
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ version = "0.8.0"
[dependencies.wasmer-wasi] [dependencies.wasmer-wasi]
default-features = false default-features = false
path = "../wasi" path = "../wasi"
version = "0.7.0" version = "0.8.0"
optional = true optional = true
[features] [features]

View File

@ -121,7 +121,7 @@ mod wasi {
.collect(); .collect();
let po_file_vec = preopened_file_list let po_file_vec = preopened_file_list
.iter() .iter()
.map(|po_file| Ok(unsafe { po_file.as_str()? }.to_owned())) .map(|po_file| Ok(unsafe { PathBuf::from(po_file.as_str()?) }.to_owned()))
.collect::<Result<Vec<_>, _>>()?; .collect::<Result<Vec<_>, _>>()?;
let mapped_dir_vec = mapped_dir_list let mapped_dir_vec = mapped_dir_list
.iter() .iter()