Arthur Cohen (cohenarthur) <[email protected]> approved the changes: I think the code looks good and the testcase is great 👍 well done. I'll ask a more backendy person to take a look but I can't see anything wrong with it :) thanks!!
> +++ gcc/testsuite/rust/execute/torture/atomic_exchange.rs > @@ -0,0 +86,4 @@ > + let mut ret = atomic_exchange_seqcst (&mut dst, 1); > + one = dst; > + > + if ret any reason for the weird styling here? :D that's definitely nitpicky, I don't really care, but we usually try to stick to the default rustfmt rules in the testsuite -- https://forge.sourceware.org/gcc/gcc-TEST/pulls/161#issuecomment-6085
