-
Notifications
You must be signed in to change notification settings - Fork 109
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
C# endianness fixes #1964
C# endianness fixes #1964
Conversation
Okay this should be ready for merge |
crates/bindings-csharp/BSATN.Runtime.Tests/BSATN.Runtime.Tests.csproj
Outdated
Show resolved
Hide resolved
## Description of Changes We have included the packages corresponding to clockworklabs/SpacetimeDB#1964. ## API Fixes API breakage related to endianness. ## Requires SpacetimeDB PRs SpacetimeDB branch name: release/v1.0.0-rc1-hotfix2 ## Testsuite SpacetimeDB branch name: release/v1.0.0-rc1-hotfix2 ## Testing CI only --------- Co-authored-by: Mazdak Farrokhzad <twingoow@gmail.com> Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com> Co-authored-by: Jeremie Pelletier <jeremiep@gmail.com> Co-authored-by: Ingvar Stepanyan <me@rreverser.com> Co-authored-by: SteveGibson <100594800+SteveBoytsun@users.noreply.github.com> Co-authored-by: Steve Boytsun <steve@clockwokrlabs.io> Co-authored-by: John Detter <4099508+jdetter@users.noreply.github.com> Co-authored-by: John Detter <no-reply@boppygames.gg> Co-authored-by: Tyler Cloutier <cloutiertyler@aol.com> Co-authored-by: Tyler Cloutier <cloutiertyler@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be ready now @RReverser
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving with one final comment.
It probably needs its own anyway, since hex string parsing doesn't check for odd length.
I think this part got missed - passing an odd-length hex string like 012
would just ignore the 2
instead of throwing an error.
The rest looks good, thanks!
28c430a
to
882bb54
Compare
I'm nervous about these internal test failures, I don't know what's causing them. |
These are a known issue that should hopefully be fixed by tomorrow. |
## Description of Changes Cherrypicking the changes from #190, which were merged directly to `master` (by me, without thinking it through). ## API Fixes API breakage related to endianness. ## Requires SpacetimeDB PRs clockworklabs/SpacetimeDB#1964 ## Testsuite SpacetimeDB branch name: master ## Testing CI only. These changes have already been released.
Description of Changes
Similar fixes to the previous endianness fixes (#1926) for C#.
API and ABI breaking changes
Reverts a previous API break which (I believe) printed Identities and Addresses backwards in C#. Otherwise, only documents existing behavior & adds methods.
Expected complexity level and risk
1
Testing
I am not sure how to add unit tests to the C# bindings, @RReverser please advise. E: NVM, figured it out.