Skip to content

macos wasi: ln -s "" "foo" succeeds #12173

@wingo

Description

@wingo

On WebAssembly/wasi-testsuite#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 "".)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIncorrect behavior in the current implementation that needs fixingwasiIssues pertaining to WASIwasi:implIssues pertaining to WASI implementation in Wasmtimewasi:testsIssues pertaining to WASI tests in Wasmtime

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions