Remove some residue, core is effectively de-exported now. Close #3583.
This commit is contained in:
parent
2d5cac960d
commit
c37c243e95
@ -36,54 +36,12 @@ Implicitly, all crates behave as if they included the following prologue:
|
||||
// Don't link to core. We are core.
|
||||
#[no_core];
|
||||
|
||||
//#[legacy_exports];
|
||||
|
||||
#[warn(deprecated_mode)];
|
||||
#[warn(deprecated_pattern)];
|
||||
|
||||
#[warn(vecs_implicitly_copyable)];
|
||||
#[deny(non_camel_case_types)];
|
||||
|
||||
/*
|
||||
export int, i8, i16, i32, i64;
|
||||
export uint, u8, u16, u32, u64;
|
||||
export float, f32, f64;
|
||||
export box, char, str, ptr, vec, at_vec, bool;
|
||||
export either, option, result, iter;
|
||||
export gc, io, libc, os, run, rand, sys, cast, logging;
|
||||
export comm, task, future, pipes;
|
||||
export extfmt;
|
||||
// The test harness links against core, so don't include runtime in tests.
|
||||
// FIXME (#2861): Uncomment this after snapshot gets updated.
|
||||
//#[cfg(notest)]
|
||||
export rt;
|
||||
export tuple;
|
||||
export to_str, to_bytes;
|
||||
export from_str;
|
||||
export util;
|
||||
export dvec, dvec_iter;
|
||||
export dlist, dlist_iter;
|
||||
export send_map;
|
||||
export hash;
|
||||
export cmp;
|
||||
export num;
|
||||
export path;
|
||||
export mutable;
|
||||
export flate;
|
||||
export unit;
|
||||
export uniq;
|
||||
export repr;
|
||||
export cleanup;
|
||||
export reflect;
|
||||
|
||||
// NDM seems to be necessary for resolve to work
|
||||
export option_iter;
|
||||
|
||||
// This creates some APIs that I do not want to commit to, but it must be
|
||||
// exported from core in order for uv to remain in std (see #2648).
|
||||
export private;
|
||||
*/
|
||||
|
||||
// Built-in-type support modules
|
||||
|
||||
/// Operations and constants for `int`
|
||||
@ -252,10 +210,10 @@ pub mod extfmt;
|
||||
#[legacy_exports]
|
||||
pub mod rt;
|
||||
|
||||
|
||||
// For internal use, not exported
|
||||
|
||||
// Ideally not exported, but currently is.
|
||||
pub mod private;
|
||||
|
||||
// For internal use, not exported.
|
||||
mod unicode;
|
||||
mod cmath;
|
||||
mod stackwalk;
|
||||
|
Loading…
x
Reference in New Issue
Block a user