bytecodealliance / bytecodealliance/wasmtime
macos wasi: ln -s "" "foo" succeeds
Open
bug
wasi
wasi:impl
wasi:tests
- Dominant language
- Rust
- Stars
- 18.6k
- Forks
- 1.8k
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 121
Description
On https://github.com/WebAssembly/wasi-testsuite/pull/139, there is a test that `ln_s("".to_string(), "whatever".to_string())` fails. However it succeeds on MacOS for some reason.
Should wasmtime filter out `""` as a symlink target, if the OS is unwilling to do so?
(Does `touch ""` work on (any filesystem from) MacOS? I would hope not; if so, perhaps that means we have to allow for `ln_s` targetting `""`.)
Contributor guide
Assessment
This issue has not been assessed yet.