Skip to content

Support for @unstable features in bindings #109

@benbrandt

Description

@benbrandt

When we've been iterating on our WIT world, it would be awesome to be able to use the new @unstable feature gate to limit breaking changes requirements to the package version while iterating on the interface.

Looking into how wit-bindgen supports this, it seems there would need to be a method of passing in these features so we can also add them to the Resolve struct creation in the parse_wit function

Questions:

  1. How would you see the features being passed in?
    1. via componentize-py.toml files?
    2. via command line arguments?
    3. both?
  2. Would you be ok with me attempting to tackle implementing this?

I assume that there are a few implementation details to figure out, so any input you have would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions