Merge remote-tracking branch 'origin/master' into rustup
This commit is contained in:
commit
837a17625a
@ -134,7 +134,7 @@ fn call_intrinsic(
|
||||
"xsub" => mir::BinOp::Sub,
|
||||
_ => bug!(),
|
||||
};
|
||||
// FIXME: what do atomics do on overflow?
|
||||
// Atomics wrap around on overflow.
|
||||
self.binop_ignore_overflow(op, old, rhs, ptr.into())?;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user