-
Notifications
You must be signed in to change notification settings - Fork 390
Closed
rust-lang/rust
#99644Labels
A-interpreterArea: affects the core interpreterArea: affects the core interpreterA-intptrcastArea: affects int2ptr and ptr2int castsArea: affects int2ptr and ptr2int castsC-cleanupCategory: cleaning up our codeCategory: cleaning up our code
Description
I would love to deprecate and remove -Zmiri-allow-ptr-int-transmute sooner rather than later. That would let us do some nice cleanup in the interpreter: we could remove the ptr_from_addr_transmute
hook, which means scalar_to_ptr
does not need access to the InterpCx
any more, so we can just make it a method on Scalar
.
Metadata
Metadata
Assignees
Labels
A-interpreterArea: affects the core interpreterArea: affects the core interpreterA-intptrcastArea: affects int2ptr and ptr2int castsArea: affects int2ptr and ptr2int castsC-cleanupCategory: cleaning up our codeCategory: cleaning up our code