rust/src/libstd/sync
bors 94ee3b5a54 Auto merge of #27871 - alexcrichton:stabilize-libcore, r=aturon
These commits move libcore into a state so that it's ready for stabilization, performing some minor cleanup:

* The primitive modules for integers in the standard library were all removed from the source tree as they were just straight reexports of the libcore variants.
* The `core::atomic` module now lives in `core::sync::atomic`. The `core::sync` module is otherwise empty, but ripe for expansion!
* The `core::prelude::v1` module was stabilized after auditing that it is a subset of the standard library's prelude plus some primitive extension traits (char, str, and slice)
* Some unstable-hacks for float parsing errors were shifted around to not use the same unstable hacks (e.g. the `flt2dec` module is now used for "privacy").


After this commit, the remaining large unstable functionality specific to libcore is:

* `raw`, `intrinsics`, `nonzero`, `array`, `panicking`, `simd` -- these modules are all unstable or not reexported in the standard library, so they're just remaining in the same status quo as before
* `num::Float` - this extension trait for floats needs to be audited for functionality (much of that is happening in #27823)  and may also want to be renamed to `FloatExt` or `F32Ext`/`F64Ext`.
* Should the extension traits for primitives be stabilized in libcore?

I believe other unstable pieces are not isolated to just libcore but also affect the standard library.

cc #27701
2015-08-22 09:59:07 +00:00
..
mpsc std: Add issues to all unstable features 2015-08-15 18:09:17 -07:00
barrier.rs Squeeze the last bits of tasks in documentation in favor of thread 2015-05-09 02:24:18 +09:00
condvar.rs Add issue numbers 2015-08-19 17:01:19 -07:00
mod.rs Auto merge of #27871 - alexcrichton:stabilize-libcore, r=aturon 2015-08-22 09:59:07 +00:00
mutex.rs std: Add issues to all unstable features 2015-08-15 18:09:17 -07:00
once.rs Register new snapshots 2015-08-11 15:11:13 -07:00
rwlock.rs std: Add issues to all unstable features 2015-08-15 18:09:17 -07:00
semaphore.rs std: Add issues to all unstable features 2015-08-15 18:09:17 -07:00