Skip to content

Ensure C-compatible layout for packed structs

Tim Crawford requested to merge tcrawford/dmi:update into master
  • Update edition from 2018 to 2021
  • Fix clippy::redundant_field_names
  • Use repr(C) for packed structs

Ref: https://doc.rust-lang.org/nomicon/other-reprs.html#reprpacked

This repr is a modifier on repr(C) and repr(Rust).

Edited by Tim Crawford

Merge request reports