google / google/zerocopy

Mitigate MSVC alignment?

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

Description

Rust [recently landed mitigations](https://github.com/rust-lang/rust/pull/139261) for MSVC's allocator sometimes allocating 4-byte aligned values for types with higher alignment. Perhaps we could take a similar approach? This would be best-effort, and would not provide any soundness guarantees.

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.