Skip to content

Add a static assertion that align_of::<Storage>() > 1 #28

Description

@mbrubeck

This crate relies on the low bit of *mut Storage being unset. It should produce an error at compile time if a platform has align_of::<usize>() equal to 1.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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