-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Host resources wit-bindgen code generation #6886
Merged
Merged
Commits on Aug 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a860ec6 - Browse repository at this point
Copy the full SHA a860ec6View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf3e7e6 - Browse repository at this point
Copy the full SHA cf3e7e6View commit details
Commits on Aug 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a2ebcc9 - Browse repository at this point
Copy the full SHA a2ebcc9View commit details -
Configuration menu - View commit details
-
Copy full SHA for b7e5d7a - Browse repository at this point
Copy the full SHA b7e5d7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a898238 - Browse repository at this point
Copy the full SHA a898238View commit details -
Configuration menu - View commit details
-
Copy full SHA for d795bf5 - Browse repository at this point
Copy the full SHA d795bf5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 17f0a87 - Browse repository at this point
Copy the full SHA 17f0a87View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c7b31e - Browse repository at this point
Copy the full SHA 7c7b31eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f7badea - Browse repository at this point
Copy the full SHA f7badeaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 90a7f54 - Browse repository at this point
Copy the full SHA 90a7f54View commit details -
Configuration menu - View commit details
-
Copy full SHA for dbd3252 - Browse repository at this point
Copy the full SHA dbd3252View commit details -
Configuration menu - View commit details
-
Copy full SHA for 73aefb6 - Browse repository at this point
Copy the full SHA 73aefb6View commit details -
Configuration menu - View commit details
-
Copy full SHA for d75f8a8 - Browse repository at this point
Copy the full SHA d75f8a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a1b555 - Browse repository at this point
Copy the full SHA 0a1b555View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3745b67 - Browse repository at this point
Copy the full SHA 3745b67View commit details -
Configuration menu - View commit details
-
Copy full SHA for ecfe9d4 - Browse repository at this point
Copy the full SHA ecfe9d4View commit details -
Restore old-style of printing types in bindgen
Avoid collecting resources-as-we-go in favor of doing that more declaratively elsewhere. Additionally handle imported-vs-exported resource via the order that interfaces are visited.
Configuration menu - View commit details
-
Copy full SHA for c08c6b7 - Browse repository at this point
Copy the full SHA c08c6b7View commit details -
Update the shape of resource traits:
* Use `&mut self` instead of `StoreContextMut` * Make resource traits as supertraits of the `Host` trait generated for each resource. * More uniformly handle types/returns with resource methods. * Fix derivations of `Clone` and `Copy` for where handles are contained.
Configuration menu - View commit details
-
Copy full SHA for e965858 - Browse repository at this point
Copy the full SHA e965858View commit details -
Configuration menu - View commit details
-
Copy full SHA for a94a9f8 - Browse repository at this point
Copy the full SHA a94a9f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 35d7184 - Browse repository at this point
Copy the full SHA 35d7184View commit details -
Merge pull request #1 from alexcrichton/resources-basic
Updates to host resources and `bindgen!` resources in exported functions arguments break with this commit and will be fixed in following commits.
Configuration menu - View commit details
-
Copy full SHA for caef98f - Browse repository at this point
Copy the full SHA caef98fView commit details -
This is now the same as the preexisting `generate_function_trait_sig`
Configuration menu - View commit details
-
Copy full SHA for aec8585 - Browse repository at this point
Copy the full SHA aec8585View commit details -
Fix classifying handles as imported or exported
This determination happens by looking up the origin definition of a resource, not the leaf possibly-aliased type.
Configuration menu - View commit details
-
Copy full SHA for 96036b2 - Browse repository at this point
Copy the full SHA 96036b2View commit details -
Fix chains-of-use of resources
Resources don't have their representation asserted since the bare type itself doesn't implement `ComponentType`, but otherwise generate type aliases the same way as other type aliases.
Configuration menu - View commit details
-
Copy full SHA for 7e4117c - Browse repository at this point
Copy the full SHA 7e4117cView commit details -
No need to update `wit-bindgen` to 0.10.0 just yet, that'll happen in a future update if necessary.
Configuration menu - View commit details
-
Copy full SHA for 0a2e67f - Browse repository at this point
Copy the full SHA 0a2e67fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0589f55 - Browse repository at this point
Copy the full SHA 0589f55View commit details
Commits on Aug 24, 2023
-
Merge pull request #2 from alexcrichton/resources-basic
More resources-related changes
Configuration menu - View commit details
-
Copy full SHA for ecaa9aa - Browse repository at this point
Copy the full SHA ecaa9aaView commit details
Commits on Aug 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 28ba525 - Browse repository at this point
Copy the full SHA 28ba525View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1059eac - Browse repository at this point
Copy the full SHA 1059eacView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.