bytecodealliance / bytecodealliance/wasmtime
wasi-common: UNC paths are not handled correctly on windows
Open
bug
- Dominant language
- Rust
- Stars
- 18.6k
- Forks
- 1.8k
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 121
Description
The following test executes correctly on a "normal" disk (C:\) on windows, but not on a network shared drive. @peterhuene determined that this is because UNC paths are not handled correctly in cap-std.
https://github.com/bytecodealliance/wasmtime/issues/2642#issuecomment-776293712
`wasmtime main.wasm --dir .`
```
fn main() -> std::io::Result<()> {
let path = std::path::Path::new("dir.tmp");
std::fs::create_dir(path)?;
assert!(path.exists());
Ok(())
}
```
Contributor guide
Assessment
This issue has not been assessed yet.