[Rust] update how "use declarations" are generated, now deriving Defaults for enums#952
Merged
mjpt777 merged 6 commits intoaeron-io:masterfrom Nov 1, 2023
Merged
[Rust] update how "use declarations" are generated, now deriving Defaults for enums#952mjpt777 merged 6 commits intoaeron-io:masterfrom
mjpt777 merged 6 commits intoaeron-io:masterfrom
Conversation
aeron-io#1: LibRsDef explicitly us crate:: to disambiguate from built in mods like bool aeron-io#2: Added acting_version field to Composite structs to fix compilation errors when using Composite structs. This is an incomplete implementation because the parent doesn't pass the acting_version to the composite because you need to change the signature of wrap(parent, offset) to include the acting_version, so this version just ensures that if the acting_version isn't set on the composite, it disregards the version check. aeron-io#3: fixed primitiveArrayDecoder to return an empty array of the right size if less than version required.
…lt" instead of generating impl
…uous glob re-exports" warnings from rust compiler
Contributor
Author
|
@adam-talos I've merged your PR in with this and fixed the formatting issues that prevented it from being accepted. Please take a look |
adam-talos
approved these changes
Aug 8, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
this PR also includes the changes submitted from #921 that I have merged in and resolved the formatting issues