The Rust Programming Language Forum
Miri: undefined behavior of using a `*const _ as *mut _` pointer
help
mbrubeck
December 18, 2020, 8:47pm
12
Related:
Inconsistency between stacked borrows and my mental model
show post in topic
Related topics
Topic
Replies
Views
Activity
Is writing through the pointer returned from `slice.as_ptr()` UB?
3
672
August 2, 2021
Safety of casting from `*mut T` to `*mut ()` to `*mut T` (+dynamic linking?)
help
15
1114
July 4, 2024
Is it fine to have multiple mutable pointers to something if I don't dereference more than one?
30
4925
October 18, 2020
Unsafe code review request for the inout crate
23
1214
November 24, 2021
Casting borrows from immutable to mutable - how bad is it?
help
16
2278
May 17, 2023