mirror of
https://github.com/allankoechke/rust.git
synced 2026-11-30 11:05:36 +00:00
atomic volatile: add intrinsics Extend the atomic load/store intrinsics to also support volatile atomic load/store. Tracking issue: https://github.com/rust-lang/rust/issues/158947. Library APIs that use these intrinsics will be added inn a future PR. The GCC and cranelift implementations ignore the volatile flag, not sure how that should be implemented for them.
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.