Skip to content

Commit 06c8f13

Browse files
committed
Move away from pointers as usize
Pointers stored as `usize` tend to cause miri to lose pointer provenance tracking, which means we can't take advantage of its checking! See also the discussion at rust-lang/miri#940 (comment). This does not yet compile since `AtomicPtr` does not have `fetch_*` methods. They were added and then removed from the standard library back in the day (rust-lang/rust#10154), but I think the reason they were removed has now been remedied, so they will hopefully come back again!
1 parent 0599b8e commit 06c8f13

File tree

1 file changed

+97
-52
lines changed

1 file changed

+97
-52
lines changed

0 commit comments

Comments
 (0)