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

Replace generated bit types with const generics #70

Open
rudib opened this issue May 15, 2021 · 0 comments
Open

Replace generated bit types with const generics #70

rudib opened this issue May 15, 2021 · 0 comments

Comments

@rudib
Copy link
Member

rudib commented May 15, 2021

Currently, the bits types contain an associated byte type, which resolve to the exact size of the required byte array. This mapping between particular bit widths and bytes is done using code generation. To migrate this onto const generics, the Rust feature const_evaluatable_checked has to be implemented: rust-lang/rust#76560

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant