I have a question regarding atomic operations in rust, looking at the docs for AtomicPtr, I can see that I can do all kinds of atomic operations on the atomicptr type itself, but I can't use atomic operations on raw pointers without using intrinsics (which require nightly).
Is it highly unsafe to make the atomic_compare_exchange free function and others like it, public?