@@ -36,54 +36,12 @@ Implicitly, all crates behave as if they included the following prologue:
3636// Don't link to core. We are core.
3737#[no_core];
3838
39- //#[legacy_exports];
40-
4139#[warn(deprecated_mode)];
4240#[warn(deprecated_pattern)];
4341
4442#[warn(vecs_implicitly_copyable)];
4543#[deny(non_camel_case_types)];
4644
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-
8745// Built-in-type support modules
8846
8947/// Operations and constants for `int`
@@ -252,10 +210,10 @@ pub mod extfmt;
252210#[legacy_exports]
253211pub mod rt;
254212
255-
256- // For internal use, not exported
257-
213+ // Ideally not exported, but currently is.
258214pub mod private;
215+
216+ // For internal use, not exported.
259217mod unicode;
260218mod cmath;
261219mod stackwalk;
0 commit comments