rust/tests/target/issue-2977/block.rs
2018-09-07 14:48:52 +02:00

12 lines
227 B
Rust

macro_rules! atomic_bits {
($ldrex:expr) => {
execute(|| {
asm!($ldrex
: "=r"(raw)
: "r"(address)
:
: "volatile");
})
};
}