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

Extend Unalign to support arbitrary alignment #205

Open
joshlf opened this issue Jul 29, 2023 · 0 comments
Open

Extend Unalign to support arbitrary alignment #205

joshlf opened this issue Jul 29, 2023 · 0 comments
Labels
compatibility-breaking Changes that are (likely to be) breaking

Comments

@joshlf
Copy link
Member

joshlf commented Jul 29, 2023

Any design for this issue will interact with other issues tracked by #885; make sure to read that issue when tackling this one.

Currently, Unalign always has an alignment of 1. We could extend it with a const parameter that specifies the alignment to reduce to (ie, make it struct Unalign<const ALIGN: usize, T>).

cc @kupiakos

@joshlf joshlf added the compatibility-breaking Changes that are (likely to be) breaking label Aug 12, 2023
@joshlf joshlf mentioned this issue Aug 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compatibility-breaking Changes that are (likely to be) breaking
Projects
None yet
Development

No branches or pull requests

1 participant