Skip to content

Use is_aligned_to in FromBytes once it's available #1038

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wedsonaf opened this issue Oct 15, 2023 · 4 comments
Open

Use is_aligned_to in FromBytes once it's available #1038

wedsonaf opened this issue Oct 15, 2023 · 4 comments
Labels
• lib Related to the `rust/` library.

Comments

@wedsonaf
Copy link

We currently do a "manual" check for alignment.

#1037 (comment)

@wedsonaf wedsonaf added the good first issue Good for newcomers label Oct 15, 2023
@ojeda ojeda added the • lib Related to the `rust/` library. label Oct 15, 2023
@ojeda
Copy link
Member

ojeda commented Oct 15, 2023

Added to the list.

@obeis
Copy link

obeis commented Nov 5, 2023

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

@y86-dev
Copy link
Member

y86-dev commented Nov 6, 2023

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

@ojeda
Copy link
Member

ojeda commented Apr 5, 2024

is_aligned() is getting stabilized in 1.79 (is_aligned_to() got split into another feature gate).

@ojeda ojeda removed the good first issue Good for newcomers label Nov 25, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
• lib Related to the `rust/` library.
Development

No branches or pull requests

4 participants