google / google/zerocopy

Extend `Unalign` to support arbitrary alignment

Open
#205 0 comments 0 reactions 0 assignees View on GitHub
compatibility-breaking
Dominant language
Rust
Stars
2.6k
Forks
179
Avg merge
1d 19h
Merged PRs (30d)
29

Description

*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`).

cc @kupiakos

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.