Skip to content

Commit ad951b5

Browse files
committed
De-export ptr, hash. Part of #3583.
1 parent baa08d5 commit ad951b5

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

src/libcore/core.rc

-3
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ mod uint {
137137
#[path = "uint-template"]
138138
mod u8 {
139139
pub use inst::is_ascii;
140-
141140
#[path = "u8.rs"]
142141
mod inst;
143142
}
@@ -170,7 +169,6 @@ mod float;
170169
mod f32;
171170
mod f64;
172171
mod str;
173-
#[legacy_exports]
174172
mod ptr;
175173
#[legacy_exports]
176174
mod vec;
@@ -186,7 +184,6 @@ mod uniq;
186184
mod ops;
187185
mod cmp;
188186
mod num;
189-
#[legacy_exports]
190187
mod hash;
191188
#[legacy_exports]
192189
mod either;

src/libcore/ptr.rs

-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ use libc::{c_void, size_t};
66
#[nolink]
77
#[abi = "cdecl"]
88
extern mod libc_ {
9-
#[legacy_exports];
109
#[rust_stack]
1110
fn memcpy(dest: *mut c_void, src: *const c_void,
1211
n: libc::size_t) -> *c_void;
@@ -22,7 +21,6 @@ extern mod libc_ {
2221

2322
#[abi = "rust-intrinsic"]
2423
extern mod rusti {
25-
#[legacy_exports];
2624
fn addr_of<T>(val: T) -> *T;
2725
}
2826

0 commit comments

Comments
 (0)