Skip to content
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

Fix usage of CheckBytes #1153

Merged
merged 3 commits into from
Oct 14, 2022
Merged

Fix usage of CheckBytes #1153

merged 3 commits into from
Oct 14, 2022

Conversation

peng1999
Copy link
Contributor

According to the rkyv book, the CheckBytes trait derive should be applied inside archive_attr attribute, or we cannot deserialize data without unsafe code.

This PR also added some trivial tests for rkyv serialization and deserialization.

@peng1999
Copy link
Contributor Author

@sebcrozet The CI failed on proptest, but the failed function seems unrelated to this PR and I cannot reproduce using the seed proptest prompts.

@peng1999
Copy link
Contributor Author

@sebcrozet The CI has been fixed in dev, and I have rebased on it. Could you please re-trigger the workflows?

@sebcrozet sebcrozet merged commit 6fd6965 into dimforge:dev Oct 14, 2022
@sebcrozet
Copy link
Member

Thanks!

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