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

Use core::mem::offset_of!() macro (after moving to Rust 1.77.0) #4504

Open
zulinx86 opened this issue Mar 15, 2024 · 0 comments
Open

Use core::mem::offset_of!() macro (after moving to Rust 1.77.0) #4504

zulinx86 opened this issue Mar 15, 2024 · 0 comments
Assignees

Comments

@zulinx86
Copy link
Contributor

zulinx86 commented Mar 15, 2024

Derived from discussion here: #4492 (comment)
After we move to Rust 1.77.0 (the current latest is 1.76.0 at the time of writing), core::mem::offset_of!() macro seems to become stable finally!! Currently, we have our own macro called offset__of!(), but thanks to the stabilization, we might be able to remove it.

@zulinx86 zulinx86 self-assigned this Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant