You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
All struct types in package cm now include structs.HostLayout on Go 1.23 or later.
Added type constraints AnyList, AnyResult, and AnyVariant in package cm to constrain generic functions accepting any of those types.
Variant types now implement fmt.Stringer, with a String method. Breaking: variant cases named string map to String_ in Go.
cm.Option[T] types now have a Value() convenience method that returns the zero value for T if the option represents the none case. For example, this simplifies getting an empty string or slice from option<string> or option<list<T>>, respectively.
Added a release workflow to publish tagged releases to GitHub.
Fixed
wit-bindgen-go --version now displays the version without empty ().