about summary refs log tree commit diff
path: root/src/libstd/sys
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-04-04 15:37:31 -0700
committerbors <bors@rust-lang.org>2016-04-04 15:37:31 -0700
commit600dc3552ffcdff014cc770e98a67b674496d10a (patch)
treed59689f8f02781e86102c22521bfb9fcd8950f80 /src/libstd/sys
parent8d5e8457609e0d3520e0586c4633c08280d9b95d (diff)
parent8620bbaafd8bffda3584b4e8534d38dcc09cc6b1 (diff)
downloadrust-600dc3552ffcdff014cc770e98a67b674496d10a.tar.gz
rust-600dc3552ffcdff014cc770e98a67b674496d10a.zip
Auto merge of #32647 - Amanieu:checked_atomic_intrinsics, r=eddyb
Only allow using the atomic intrinsics on integer types

Using these with non-integer types results in LLVM asserts. Atomic operations on non-integer types will require values be transmuted into an integer type of suitable size.

This doesn't affect the standard library since `AtomicBool` and `AtomicPtr` currently use `usize` for atomic operations.

r? @eddyb
Diffstat (limited to 'src/libstd/sys')
0 files changed, 0 insertions, 0 deletions