On Fri, May 4, 2012 at 10:56 AM, John Harrison <harr...@tigermail.auburn.edu> wrote: > I understand that most people do not understand the volatile keyword and it > is very commonly misused, but it does serve a very important purpose in > embedded and low level programming. I could always try to write anything that > requires MMIO or signals in C and just call it from rust, but that feels > unsatisfactory.
An easy stopgap might be to add unsafe primitives for volatile_load and volatile_store that map to LLVM load volatile/store volatile instructions. -Joe _______________________________________________ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev