Skip to content

Commit 0bef3f6

Browse files
committed
---
yaml --- r: 30838 b: refs/heads/incoming c: 4eb5177 h: refs/heads/master v: v3
1 parent 59d27af commit 0bef3f6

File tree

5 files changed

+4
-13
lines changed

5 files changed

+4
-13
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: d0c6ce338884ee21843f4b40bf6bf18d222ce5df
9-
refs/heads/incoming: 24265b1598e20173e4fa3f9f6c32bd4b665789c8
9+
refs/heads/incoming: 4eb5177d8c0bc6de0383ea1376115ba630627c34
1010
refs/heads/dist-snap: 2f32a1581f522e524009138b33b1c7049ced668d
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/incoming/src/libcore/cast.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
33
#[abi = "rust-intrinsic"]
44
extern mod rusti {
5-
#[legacy_exports];
65
fn forget<T>(-x: T);
76
fn reinterpret_cast<T, U>(e: T) -> U;
87
}

branches/incoming/src/libcore/core.rc

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -311,17 +311,11 @@ mod path;
311311
mod rand;
312312
mod run;
313313
mod sys;
314-
#[legacy_exports]
315314
mod cast;
316-
#[legacy_exports]
317315
mod mutable;
318-
#[legacy_exports]
319316
mod flate;
320-
#[legacy_exports]
321317
mod repr;
322-
#[legacy_exports]
323318
mod cleanup;
324-
#[legacy_exports]
325319
mod reflect;
326320

327321
// Modules supporting compiler-generated code

branches/incoming/src/libcore/flate.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ Simple compression
1111
use libc::{c_void, size_t, c_int};
1212

1313
extern mod rustrt {
14-
#[legacy_exports];
15-
1614
fn tdefl_compress_mem_to_heap(psrc_buf: *const c_void,
1715
src_buf_len: size_t,
1816
pout_len: *size_t,
@@ -29,7 +27,7 @@ const lz_fast : c_int = 0x1; // LZ with only one probe
2927
const lz_norm : c_int = 0x80; // LZ with 128 probes, "normal"
3028
const lz_best : c_int = 0xfff; // LZ with 4095 probes, "best"
3129

32-
fn deflate_bytes(bytes: &[const u8]) -> ~[u8] {
30+
pub fn deflate_bytes(bytes: &[const u8]) -> ~[u8] {
3331
do vec::as_const_buf(bytes) |b, len| {
3432
unsafe {
3533
let mut outsz : size_t = 0;
@@ -47,7 +45,7 @@ fn deflate_bytes(bytes: &[const u8]) -> ~[u8] {
4745
}
4846
}
4947

50-
fn inflate_bytes(bytes: &[const u8]) -> ~[u8] {
48+
pub fn inflate_bytes(bytes: &[const u8]) -> ~[u8] {
5149
do vec::as_const_buf(bytes) |b, len| {
5250
unsafe {
5351
let mut outsz : size_t = 0;

branches/incoming/src/libcore/reflect.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ use libc::c_void;
1313
* data structure, and implement both `MovePtr` for it as well as `TyVisitor`;
1414
* then build a MovePtrAdaptor wrapped around your struct.
1515
*/
16-
trait MovePtr {
16+
pub trait MovePtr {
1717
fn move_ptr(adjustment: fn(*c_void) -> *c_void);
1818
}
1919

0 commit comments

Comments
 (0)