]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #16258 : aturon/rust/stabilize-atomics, r=alexcrichton
authorbors <bors@rust-lang.org>
Wed, 6 Aug 2014 08:31:28 +0000 (08:31 +0000)
committerbors <bors@rust-lang.org>
Wed, 6 Aug 2014 08:31:28 +0000 (08:31 +0000)
This commit stabilizes the `std::sync::atomics` module, renaming it to
`std::sync::atomic` to match library precedent elsewhere, and tightening
up behavior around incorrect memory ordering annotations.

The vast majority of the module is now `stable`. However, the
`AtomicOption` type has been deprecated, since it is essentially unused
and is not truly a primitive atomic type. It will eventually be replaced
by a higher-level abstraction like MVars.

Due to deprecations, this is a:

[breaking-change]

1  2 
src/librustrt/unwind.rs
src/libstd/rt/backtrace.rs

Simple merge
Simple merge