You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There might be a better way to do this, but currently, all programs require borsh as a dependency and if they use state, they require bytemuck. If you don't supply either of those dependencies, the error messages from the compiler aren't super intuitive. I'm proposing that we do a check in the build-script.
The text was updated successfully, but these errors were encountered:
Turns out I found a way to solve this. I can either derive Zeroable and Pod, instead of NoUninit... or bytemuck can accept my PR: Lokathor/bytemuck#259
I think them accepting my PR is the cleaner solution as I don't think we need to be as strict as Pod and Zeroable
There might be a better way to do this, but currently, all programs require
borsh
as a dependency and if they use state, they requirebytemuck
. If you don't supply either of those dependencies, the error messages from the compiler aren't super intuitive. I'm proposing that we do a check in the build-script.The text was updated successfully, but these errors were encountered: