Skip to content

ptr::swap_nonoverlapping can no longer copy pointers bytewise in latest miri  #2118

Closed
@tower120

Description

@tower120

After updating miri from pre-1.60 to 1.62, I start getting those errors:
https://github.com/tower120/any_vec/runs/6425015915?check_suite_focus=true
(that branch runs OK with older MIRI)

Previously, miri had troubles with any raw pointer deference operations, for me.
But I "fixed" that with ptr::copy_nonoverlapping - and it worked for miri.
It looks like there was some support for std::ptr::* operations on miri side... Which is now gone...

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