Skip to content

Commit b6d4d11

Browse files
committed
std: mark some modules as unstable
Obviously everything is unstable, but these particularly so, and they will likely remain that way. Closes #10239
1 parent 041413b commit b6d4d11

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

src/libstd/lib.rs

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ pub mod sync;
163163

164164
/* Runtime and platform support */
165165

166+
#[unstable]
166167
pub mod libc;
167168
pub mod c_str;
168169
pub mod os;
@@ -172,9 +173,8 @@ pub mod rand;
172173
pub mod run;
173174
pub mod cast;
174175
pub mod fmt;
175-
pub mod repr;
176176
pub mod cleanup;
177-
pub mod reflect;
177+
#[deprecated]
178178
pub mod condition;
179179
pub mod logging;
180180
pub mod util;
@@ -183,7 +183,13 @@ pub mod mem;
183183

184184
/* Unsupported interfaces */
185185

186+
#[unstable]
187+
pub mod repr;
188+
#[unstable]
189+
pub mod reflect;
190+
186191
// Private APIs
192+
#[unstable]
187193
pub mod unstable;
188194

189195

@@ -195,6 +201,7 @@ mod cmath;
195201

196202
// FIXME #7809: This shouldn't be pub, and it should be reexported under 'unstable'
197203
// but name resolution doesn't work without it being pub.
204+
#[unstable]
198205
pub mod rt;
199206

200207
// A curious inner-module that's not exported that contains the binding

0 commit comments

Comments
 (0)