Skip to content

Conversation

@justingaffney
Copy link
Contributor

I missed adding #[serde(default)] when I added the serde::Deserialize implementation to wit-bindgen-rust::Opts in #1244. So every single field in the struct currently needs to be specified in the serialised options to be deserialisable. This PR corrects that

@alexcrichton alexcrichton added this pull request to the merge queue Apr 14, 2025
Merged via the queue into bytecodealliance:main with commit d477fc0 Apr 14, 2025
18 checks passed
@justingaffney justingaffney deleted the add_serde_default branch April 15, 2025 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants