Skip to content

[BUG] Unaligned pointer dereference now will panic in rust toolchain 1.70.0 #2807

Description

@siyuan0322

See rust-lang/rust#98112

This affects some unsafe code, for example:

unsafe { *($ob.buf.offset($of as isize) as *const $ty) }

Used in

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