Skip to content

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

Closed
@zulinx86

Description

@zulinx86

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions