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

Update DPE to the latest zerocopy. #397

Merged
merged 1 commit into from
Feb 21, 2025

Conversation

clundin25
Copy link
Contributor

@clundin25 clundin25 commented Feb 21, 2025

Zerocopy's derive macro for KnownLayout has changed. Compiling DPE in caliptra-sw fails because public interfaces are leaking these private types.

The solution is to mark them as a public field. There may be another workaround, but since these types are being serialized to and from raw bytes, it makes sense that these private fields should be visible to callers.

@clundin25 clundin25 requested a review from jhand2 February 21, 2025 01:04
@jhand2 jhand2 merged commit 49422d3 into chipsalliance:main Feb 21, 2025
2 checks passed
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