Skip to content

Fixes for Rust Composites #930

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

Closed
wants to merge 2 commits into from
Closed

Fixes for Rust Composites #930

wants to merge 2 commits into from

Conversation

SeanKim
Copy link

@SeanKim SeanKim commented Feb 24, 2023

This is the successor of @adam-talos' #921 PR.
I created this PR because #921 PR seems no longer maintained.

rebased on the updated main branch and fix the line length lint error by removing the unnecessary acting_version > 0 condition.

all credit to @adam-talos

@SeanKim SeanKim force-pushed the master branch 2 times, most recently from 4cc1718 to cea5fbf Compare March 4, 2023 08:30
adam-talos and others added 2 commits March 4, 2023 17:32
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.
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