]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #15289 : aturon/rust/libstd-stability, r=alexcrichton
authorbors <bors@rust-lang.org>
Tue, 1 Jul 2014 10:11:34 +0000 (10:11 +0000)
committerbors <bors@rust-lang.org>
Tue, 1 Jul 2014 10:11:34 +0000 (10:11 +0000)
Earlier commits have established a baseline of `experimental` stability
for all crates under the facade (so their contents are considered
experimental within libstd). Since `experimental` is `allow` by
default, we should use the same baseline stability for libstd itself.

This commit adds `experimental` tags to all of the modules defined in
`std`, and `unstable` to `std` itself.

26 files changed:
src/libstd/ascii.rs
src/libstd/bitflags.rs
src/libstd/c_vec.rs
src/libstd/collections/mod.rs
src/libstd/failure.rs
src/libstd/fmt.rs
src/libstd/from_str.rs
src/libstd/gc.rs
src/libstd/io/mod.rs
src/libstd/lib.rs
src/libstd/macros.rs
src/libstd/num/f32.rs
src/libstd/num/f64.rs
src/libstd/num/float_macros.rs
src/libstd/num/int_macros.rs
src/libstd/num/mod.rs
src/libstd/num/uint_macros.rs
src/libstd/os.rs
src/libstd/path/mod.rs
src/libstd/prelude.rs
src/libstd/rand/mod.rs
src/libstd/rt/mod.rs
src/libstd/rtdeps.rs
src/libstd/sync/mod.rs
src/libstd/task.rs
src/libstd/to_str.rs

index 2730d90f05fc121b6acccad4eb3bd89d466bf468..fae1b933210d52a9c2f8f49499583eeb03f49873 100644 (file)
@@ -10,6 +10,8 @@
 
 //! Operations on ASCII strings and characters
 
+#![experimental]
+
 use collections::Collection;
 use fmt;
 use iter::Iterator;
index 7d821983075b1c66a3f78b5b9b8e4a854374008d..834d461f20ba1517f85fede4cd68ccdbfaaf264d 100644 (file)
 //! - `insert`: inserts the specified flags in-place
 //! - `remove`: removes the specified flags in-place
 
+#![experimental]
 #![macro_escape]
 
 #[macro_export]
index 1926d6b1b960fc4f36bb19bc76c03609c5191e8a..a7d697c8665ef639132dac200953b41e65d885c1 100644 (file)
@@ -33,6 +33,8 @@
 //! handled correctly, i.e. that allocated memory is eventually freed
 //! if necessary.
 
+#![experimental]
+
 use collections::Collection;
 use kinds::Send;
 use mem;
index 9e5288f9541b8c1869ac400f8936e36998dbe2b2..ccef1c0fd2adb80331da2b646ff06de772ffba05 100644 (file)
@@ -12,6 +12,8 @@
  * Collection types.
  */
 
+#![experimental]
+
 pub use core_collections::{Collection, Mutable, Map, MutableMap};
 pub use core_collections::{Set, MutableSet, Deque};
 pub use core_collections::{Bitv, BitvSet, BTree, DList, EnumSet};
index d1552f0bd10122e3d10c455e1099c298aae51dbc..47ff85e2806d562caf77f6e81d12dc1255e36e9f 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![experimental]
+
 use alloc::owned::Box;
 use any::{Any, AnyRefExt};
 use fmt;
index ef0c59268c3c04af9c9f662c652b930b0ab9a984..5834e576b0814039d6c9c8d8396d052f58c41ea9 100644 (file)
@@ -412,6 +412,8 @@ fn my_fmt_fn(args: &fmt::Arguments) {
 
 */
 
+#![experimental]
+
 use io::Writer;
 use io;
 use result::{Ok, Err};
index 642bec48b836bda2f8beb086ba48428f9d2f76a3..1ca72bca20bdb5cbec9b983e2e90f7f8e7991262 100644 (file)
@@ -10,6 +10,8 @@
 
 //! The `FromStr` trait for types that can be created from strings
 
+#![experimental]
+
 use option::{Option, Some, None};
 use string::String;
 use str::StrAllocating;
index 80f1cbe6cb29e3bcdc07836c4c347bebef525f7d..47b7426633c7b0c34e1631d922211cd44ab2397e 100644 (file)
@@ -16,6 +16,7 @@
 
 */
 
+#![experimental]
 #![allow(experimental)]
 
 use clone::Clone;
index 8014759c88ab0c3c239b51323d1ad1c8e13ff1c9..1d339b03af6717d9eb68e4908f3e6e4e7333bbf8 100644 (file)
@@ -216,6 +216,7 @@ fn file_product(p: &Path) -> IoResult<u32> {
 
 */
 
+#![experimental]
 #![deny(unused_must_use)]
 
 use char::Char;
index f63e69f3cca0a17af6720d38f95608212ccee046..48ccd1aa22ce3be3b18f6d517b8816aec688f4b2 100644 (file)
@@ -95,6 +95,7 @@
 //! and `format!`, also available to all Rust code.
 
 #![crate_id = "std#0.11.0-pre"]
+#![unstable]
 #![comment = "The Rust standard library"]
 #![license = "MIT/ASL2"]
 #![crate_type = "rlib"]
index 4db15d2cbbe0b03a216ef26dfb82edfbdd541ee9..8b79af8c9310d27c4ad8f6fa73711417a47dd91d 100644 (file)
@@ -14,6 +14,7 @@
 //! library. Each macro is available for use when linking against the standard
 //! library.
 
+#![experimental]
 #![macro_escape]
 
 /// The entry point for failure of rust tasks.
index bbf1458da216e0852d5c7d11b8f3d3182265ddcd..2b2ffb9f4e281706052a95a1797d3c10b984cf00 100644 (file)
@@ -10,6 +10,7 @@
 
 //! Operations and constants for 32-bits floats (`f32` type)
 
+#![experimental]
 #![allow(missing_doc)]
 #![allow(unsigned_negate)]
 #![doc(primitive = "f32")]
index cfa8534160bae9fd6d2c52c1d7a5061a009d6856..e156d2ce553240b629b6594429b60ef3eb303725 100644 (file)
@@ -10,6 +10,7 @@
 
 //! Operations and constants for 64-bits floats (`f64` type)
 
+#![experimental]
 #![allow(missing_doc)]
 #![doc(primitive = "f64")]
 
index 3e403219a4fbaffdc207d8c2015ba88431a4e67f..519de85edde65f3c4fa6aa535ce3a9064ee77f99 100644 (file)
@@ -8,6 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![experimental]
 #![macro_escape]
 #![doc(hidden)]
 
index 9b3c9d29cc74a193a0d3e98200beb0ebc0d7b075..a4200b55a5906f575aa1bc6942f6a7a7f7cc4a47 100644 (file)
@@ -8,6 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![experimental]
 #![macro_escape]
 #![doc(hidden)]
 
index 65056652e3f97860ba05665c05475dc48a39d07c..27ee1e3ce3bb31d8c1e42d05b9b9e670261b47cc 100644 (file)
@@ -13,6 +13,7 @@
 //! These are implemented for the primitive numeric types in `std::{u8, u16,
 //! u32, u64, uint, i8, i16, i32, i64, int, f32, f64}`.
 
+#![experimental]
 #![allow(missing_doc)]
 
 use option::Option;
index 19e45b292fbb5f731e06eb9f20154022f7ccb877..7f2efe034a24a77b8c4acb8ae83e1abef89eff64 100644 (file)
@@ -8,6 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![experimental]
 #![macro_escape]
 #![doc(hidden)]
 #![allow(unsigned_negate)]
index 5201a81179144e2f7658f6c3d688ff101399c754..6674dd532aeb0b5f76d924b3e8c5a5555a863a00 100644 (file)
@@ -26,6 +26,8 @@
  * to write OS-ignorant code by default.
  */
 
+#![experimental]
+
 #![allow(missing_doc)]
 #![allow(non_snake_case_functions)]
 
index 6d48122b1867e98c69afb6d6dcc79a496c003398..7d814df8ebf95dd11190f7d00f0db804f31c7fad 100644 (file)
@@ -63,6 +63,8 @@
 
 */
 
+#![experimental]
+
 use collections::Collection;
 use c_str::CString;
 use clone::Clone;
index dfe6988624eb017dce9c5243489ab9ed0cc5503b..61e8b63af359ef6d042d511d7b785a049a82f0c3 100644 (file)
@@ -37,6 +37,8 @@
 //! particularly useful standalone functions, like `from_str`, `range`, and
 //! `drop`, `spawn`, and `channel`.
 
+#![experimental]
+
 // Reexported core operators
 #[doc(no_inline)] pub use kinds::{Copy, Send, Sized, Share};
 #[doc(no_inline)] pub use ops::{Add, Sub, Mul, Div, Rem, Neg, Not};
index f48d487461ef4b70cd968f8f63a25cba480e4348..0ffaadef0a1303c876c52d3a4bcd8cc8f68b9659 100644 (file)
@@ -73,6 +73,8 @@
 ```
 */
 
+#![experimental]
+
 use cell::RefCell;
 use clone::Clone;
 use io::IoResult;
index 19853138afd547ce5f44295429a4444486ac89d8..4490977bde619ef833f725c75af39cb9fa8ef796 100644 (file)
@@ -51,6 +51,8 @@
 
 */
 
+#![experimental]
+
 // FIXME: this should not be here.
 #![allow(missing_doc)]
 
index f8bfde52261632f1887ccffe786d263f9b4d45e3..0ffac99775c11a75ceac8651d1083d98b41ba7fc 100644 (file)
@@ -12,6 +12,8 @@
 //! the standard library This varies per-platform, but these libraries are
 //! necessary for running libstd.
 
+#![experimental]
+
 // All platforms need to link to rustrt
 #[link(name = "rust_builtin", kind = "static")]
 extern {}
index 5f45ce25502231d710191657f90ff51c5a98858d..cc32818baa4561df7fd3e75a37440cae33388b38 100644 (file)
@@ -15,6 +15,8 @@
 //! and/or blocking at all, but rather provide the necessary tools to build
 //! other types of concurrent primitives.
 
+#![experimental]
+
 pub use core_sync::{atomics, deque, mpmc_bounded_queue, mpsc_queue, spsc_queue};
 pub use core_sync::{Arc, Weak, Mutex, MutexGuard, Condvar, Barrier};
 pub use core_sync::{RWLock, RWLockReadGuard, RWLockWriteGuard};
index 6492717d3ecafd95d8321818cd902c3b53af9ec4..c20cbea0ae7cced97332673d8e1eda74ea934486 100644 (file)
@@ -91,6 +91,8 @@
 //! # }
 //! ```
 
+#![experimental]
+
 use any::Any;
 use comm::channel;
 use io::{Writer, stdio};
index 5deb7f151bb625252ed77627190413322f111bc1..e51e2c4d9ce5e5acbff2437c02d9e37d26bc2a2e 100644 (file)
@@ -14,6 +14,8 @@
 
 */
 
+#![experimental]
+
 use fmt;
 use string::String;