-
Notifications
You must be signed in to change notification settings - Fork 1.7k
component::bindgen! no longer works with symlinks for deps #8241
Copy link
Copy link
Closed
Labels
bugIncorrect behavior in the current implementation that needs fixingIncorrect behavior in the current implementation that needs fixing
Description
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? 🤷♂️
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugIncorrect behavior in the current implementation that needs fixingIncorrect behavior in the current implementation that needs fixing