Skip to content

component::bindgen! no longer works with symlinks for deps #8241

@jeffparsons

Description

@jeffparsons

On Wasmtime 18, I had wit/deps/cli, wit/deps/clocks, etc. as symlinks to vendored WASI wit files.

After upgrading to Wasmtime 19, this same structure results in the error:

failed to resolve directory while parsing WIT for path

Replacing the symlinks with copies of the target directory resolves the issue.

I'm not sure if this will be regarded as a bug, but I don't see why symlinks shouldn't be supported here. I guess it was just an accidental regression with recent bindgen changes? 🤷‍♂️

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIncorrect behavior in the current implementation that needs fixing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions