-
Notifications
You must be signed in to change notification settings - Fork 67
Closed
Description
When working on a component locally, I often go through this flow:
- Make changes to the wit
- Generate the new bindings
- Make changes to the component
Currently, afaik, the way to generate the new bindings is to run a full cargo component build. This has a few drawbacks:
- It inevitably has errors, because I don't make the rest of the code changes until I have the new bindings to build against
- It's a bit unintuitive, I genuinely don't want to build the component, feels a bit like using the non-optimal command for its side-effect
- It's doing more than necessary (I think), a bindings-only subcommand would likely be much faster
I think it would be a tooling improvement to have an explicit subcommand that just generates the bindings, without building the full component
Metadata
Metadata
Assignees
Labels
No labels