Rust-for-Linux / linux

Adding support for the Rust language to the Linux kernel.

Home Page:https://rust-for-linux.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use `is_aligned_to` in `FromBytes` once it's available

wedsonaf opened this issue · comments

We currently do a "manual" check for alignment.

#1037 (comment)

Added to the list.

I am going to work on it. Can someone please assign it to me?

the feature pointer_is_aligned has not yet been stabilized, see rust-lang/rust#96284