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]
default-features = false
path = "../wasi"
version = "0.7.0"
version = "0.8.0"
optional = true
[features]

View File

@ -121,7 +121,7 @@ mod wasi {
.collect();
let po_file_vec = preopened_file_list
.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<_>, _>>()?;
let mapped_dir_vec = mapped_dir_list
.iter()