about summary refs log tree commit diff
path: root/src/libstd/lib.rs
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2014-06-08 20:12:10 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-06-09 17:46:53 -0700
commit1635ef2a1958749e7b0cf4e812e1a87cd919027f (patch)
tree15af3b75a8ac11af34f6df1bd46fdba6560a9377 /src/libstd/lib.rs
parent5eb4d19dc35dc59aaeaf3d53759c9b0341148ef8 (diff)
downloadrust-1635ef2a1958749e7b0cf4e812e1a87cd919027f.tar.gz
rust-1635ef2a1958749e7b0cf4e812e1a87cd919027f.zip
std: Move dynamic_lib from std::unstable to std
This leaves a deprecated reexport in place temporarily.

Closes #1457.
Diffstat (limited to 'src/libstd/lib.rs')
-rw-r--r--src/libstd/lib.rs13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs
index 85813c02d55..e147997334c 100644
--- a/src/libstd/lib.rs
+++ b/src/libstd/lib.rs
@@ -241,15 +241,12 @@ pub mod sync;
 /* Runtime and platform support */
 
 pub mod c_vec;
+pub mod dynamic_lib;
 pub mod os;
 pub mod io;
 pub mod path;
 pub mod fmt;
 
-// Private APIs
-#[unstable]
-pub mod unstable;
-
 // FIXME #7809: This shouldn't be pub, and it should be reexported under 'unstable'
 // but name resolution doesn't work without it being pub.
 #[unstable]
@@ -279,3 +276,11 @@ mod std {
     // The test runner requires std::slice::Vector, so re-export std::slice just for it.
     #[cfg(test)] pub use slice;
 }
+
+#[deprecated]
+#[allow(missing_doc)]
+#[doc(hiden)]
+pub mod unstable {
+    #[deprecated = "use std::dynamic_lib"]
+    pub use dynamic_lib;
+}