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

derive Cread for arrays is broken #110

Open
m4b opened this issue Nov 18, 2024 · 0 comments
Open

derive Cread for arrays is broken #110

m4b opened this issue Nov 18, 2024 · 0 comments

Comments

@m4b
Copy link
Owner

m4b commented Nov 18, 2024

As noted in #107 (comment) cread derive is also broken for fixed size arrays, and emits a scratch array of [u8; N] to write into.

I would like to fix this, but this will require FromCtx: [T; N] which is kind of an awkard thing already.

I'd have to think back to what cread is trying to accomplish, iirc, it was motivated for non-std/core situations (cread == core read).

There may not be a good answer here.

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

No branches or pull requests

1 participant