I have package1 (from p1.wit) that use interface from package2 in other WIT file ( p2.wit). Where do I put p2.wit relation p1.wit?
Currently it needs to be in e.g. wit/deps/p2/p2.wit (if your p1 is wit/p1.wit)
Great. thanks
both of the p2s in that path can be anything (they don't have to match the package name, but usually do); each directory under deps/ will be parsed as a package
Last updated: Dec 06 2025 at 06:05 UTC