function volatile_read

@intrinsic(volatile_read)
fn volatile_read<T>(ptr: &T) -> T { .. }
Expand

Dereferences ptr in a volatile way. This causes the compiler to not reorder or remove reads.