@@ -36,54 +36,12 @@ Implicitly, all crates behave as if they included the following prologue:
36
36
// Don't link to core. We are core.
37
37
#[no_core];
38
38
39
- //#[legacy_exports];
40
-
41
39
#[warn(deprecated_mode)];
42
40
#[warn(deprecated_pattern)];
43
41
44
42
#[warn(vecs_implicitly_copyable)];
45
43
#[deny(non_camel_case_types)];
46
44
47
- /*
48
- export int, i8, i16, i32, i64;
49
- export uint, u8, u16, u32, u64;
50
- export float, f32, f64;
51
- export box, char, str, ptr, vec, at_vec, bool;
52
- export either, option, result, iter;
53
- export gc, io, libc, os, run, rand, sys, cast, logging;
54
- export comm, task, future, pipes;
55
- export extfmt;
56
- // The test harness links against core, so don't include runtime in tests.
57
- // FIXME (#2861): Uncomment this after snapshot gets updated.
58
- //#[cfg(notest)]
59
- export rt;
60
- export tuple;
61
- export to_str, to_bytes;
62
- export from_str;
63
- export util;
64
- export dvec, dvec_iter;
65
- export dlist, dlist_iter;
66
- export send_map;
67
- export hash;
68
- export cmp;
69
- export num;
70
- export path;
71
- export mutable;
72
- export flate;
73
- export unit;
74
- export uniq;
75
- export repr;
76
- export cleanup;
77
- export reflect;
78
-
79
- // NDM seems to be necessary for resolve to work
80
- export option_iter;
81
-
82
- // This creates some APIs that I do not want to commit to, but it must be
83
- // exported from core in order for uv to remain in std (see #2648).
84
- export private;
85
- */
86
-
87
45
// Built-in-type support modules
88
46
89
47
/// Operations and constants for `int`
@@ -252,10 +210,10 @@ pub mod extfmt;
252
210
#[legacy_exports]
253
211
pub mod rt;
254
212
255
-
256
- // For internal use, not exported
257
-
213
+ // Ideally not exported, but currently is.
258
214
pub mod private;
215
+
216
+ // For internal use, not exported.
259
217
mod unicode;
260
218
mod cmath;
261
219
mod stackwalk;
0 commit comments