]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #38579 - whitequark:min_atomic_width, r=alexcrichton
authorbors <bors@rust-lang.org>
Wed, 28 Dec 2016 04:12:11 +0000 (04:12 +0000)
committerbors <bors@rust-lang.org>
Wed, 28 Dec 2016 04:12:11 +0000 (04:12 +0000)
Add a min_atomic_width target option, like max_atomic_width

Rationale: some ISAs, e.g. OR1K, do not have atomic instructions
for byte and halfword access, and at the same time do not have
a fixed endianness, which makes it unreasonable to implement these
through word-sized atomic accesses.


Trivial merge