Skip to content

Conversation

3fault
Copy link
Contributor

@3fault 3fault commented Mar 9, 2023

unaligned_references is made into a hard error as per rust-lang/rust#102513 which will cause the FIELD_OFFSET macro to fail for packed structs. rust-lang/rfcs#3308 looks to implement this in core::mem however in the meantime this change passes all tests in layout_x86_64.rs on rustc 1.70.0-nightly (900c35403 2023-03-08)

@MSxDOS MSxDOS merged commit e71470c into MSxDOS:master Apr 20, 2023
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

Successfully merging this pull request may close these issues.

3 participants