auto merge of #15289 : aturon/rust/libstd-stability, r=alexcrichton

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.
This commit is contained in:
bors 2014-07-01 10:11:34 +00:00
commit 3deb2c1aa6
26 changed files with 41 additions and 0 deletions

View File

@ -10,6 +10,8 @@
//! Operations on ASCII strings and characters
#![experimental]
use collections::Collection;
use fmt;
use iter::Iterator;

View File

@ -105,6 +105,7 @@
//! - `insert`: inserts the specified flags in-place
//! - `remove`: removes the specified flags in-place
#![experimental]
#![macro_escape]
#[macro_export]

View 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;

View 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};

View 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;

View File

@ -412,6 +412,8 @@ the `}` character is escaped with `}}`.
*/
#![experimental]
use io::Writer;
use io;
use result::{Ok, Err};

View 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;

View File

@ -16,6 +16,7 @@ collector is task-local so `Gc<T>` is not sendable.
*/
#![experimental]
#![allow(experimental)]
use clone::Clone;

View File

@ -216,6 +216,7 @@ responding to errors that may occur while attempting to read the numbers.
*/
#![experimental]
#![deny(unused_must_use)]
use char::Char;

View 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"]

View 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.

View File

@ -10,6 +10,7 @@
//! Operations and constants for 32-bits floats (`f32` type)
#![experimental]
#![allow(missing_doc)]
#![allow(unsigned_negate)]
#![doc(primitive = "f32")]

View File

@ -10,6 +10,7 @@
//! Operations and constants for 64-bits floats (`f64` type)
#![experimental]
#![allow(missing_doc)]
#![doc(primitive = "f64")]

View 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)]

View 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)]

View 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;

View 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)]

View File

@ -26,6 +26,8 @@
* to write OS-ignorant code by default.
*/
#![experimental]
#![allow(missing_doc)]
#![allow(non_snake_case_functions)]

View File

@ -63,6 +63,8 @@ println!("path exists: {}", path.exists());
*/
#![experimental]
use collections::Collection;
use c_str::CString;
use clone::Clone;

View 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};

View File

@ -73,6 +73,8 @@ println!("{}", tuple)
```
*/
#![experimental]
use cell::RefCell;
use clone::Clone;
use io::IoResult;

View File

@ -51,6 +51,8 @@ Several modules in `core` are clients of `rt`:
*/
#![experimental]
// FIXME: this should not be here.
#![allow(missing_doc)]

View 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 {}

View 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};

View File

@ -91,6 +91,8 @@
//! # }
//! ```
#![experimental]
use any::Any;
use comm::channel;
use io::{Writer, stdio};

View File

@ -14,6 +14,8 @@ The `ToStr` trait for converting to strings
*/
#![experimental]
use fmt;
use string::String;