Whenever WIT files are changed, added to, or removed from the wit directory, the bindings in internal should be regenerated.
- BASH or compatible shell
componentize-gofrom https://github.com/bytecodealliance/componentize-go
bash regenerate-bindings.shExports typically require a handwritten _handler package within the export directory. If you update the exports, you'll need to write a new handler following the pattern of the existing ones.
This will run go mod tidy on the root module and all the examples and tests:
bash tidy.sh