File tree Expand file tree Collapse file tree 5 files changed +4
-13
lines changed
branches/incoming/src/libcore Expand file tree Collapse file tree 5 files changed +4
-13
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
8
refs/heads/try2: d0c6ce338884ee21843f4b40bf6bf18d222ce5df
9
- refs/heads/incoming: 24265b1598e20173e4fa3f9f6c32bd4b665789c8
9
+ refs/heads/incoming: 4eb5177d8c0bc6de0383ea1376115ba630627c34
10
10
refs/heads/dist-snap: 2f32a1581f522e524009138b33b1c7049ced668d
11
11
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
12
12
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
Original file line number Diff line number Diff line change 2
2
3
3
#[ abi = "rust-intrinsic" ]
4
4
extern mod rusti {
5
- #[ legacy_exports] ;
6
5
fn forget < T > ( -x : T ) ;
7
6
fn reinterpret_cast < T , U > ( e : T ) -> U ;
8
7
}
Original file line number Diff line number Diff line change @@ -311,17 +311,11 @@ mod path;
311
311
mod rand;
312
312
mod run;
313
313
mod sys;
314
- #[legacy_exports]
315
314
mod cast;
316
- #[legacy_exports]
317
315
mod mutable;
318
- #[legacy_exports]
319
316
mod flate;
320
- #[legacy_exports]
321
317
mod repr;
322
- #[legacy_exports]
323
318
mod cleanup;
324
- #[legacy_exports]
325
319
mod reflect;
326
320
327
321
// Modules supporting compiler-generated code
Original file line number Diff line number Diff line change @@ -11,8 +11,6 @@ Simple compression
11
11
use libc:: { c_void, size_t, c_int} ;
12
12
13
13
extern mod rustrt {
14
- #[ legacy_exports] ;
15
-
16
14
fn tdefl_compress_mem_to_heap ( psrc_buf : * const c_void ,
17
15
src_buf_len : size_t ,
18
16
pout_len : * size_t ,
@@ -29,7 +27,7 @@ const lz_fast : c_int = 0x1; // LZ with only one probe
29
27
const lz_norm : c_int = 0x80 ; // LZ with 128 probes, "normal"
30
28
const lz_best : c_int = 0xfff ; // LZ with 4095 probes, "best"
31
29
32
- fn deflate_bytes ( bytes : & [ const u8 ] ) -> ~[ u8 ] {
30
+ pub fn deflate_bytes ( bytes : & [ const u8 ] ) -> ~[ u8 ] {
33
31
do vec:: as_const_buf ( bytes) |b, len| {
34
32
unsafe {
35
33
let mut outsz : size_t = 0 ;
@@ -47,7 +45,7 @@ fn deflate_bytes(bytes: &[const u8]) -> ~[u8] {
47
45
}
48
46
}
49
47
50
- fn inflate_bytes ( bytes : & [ const u8 ] ) -> ~[ u8 ] {
48
+ pub fn inflate_bytes ( bytes : & [ const u8 ] ) -> ~[ u8 ] {
51
49
do vec:: as_const_buf ( bytes) |b, len| {
52
50
unsafe {
53
51
let mut outsz : size_t = 0 ;
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ use libc::c_void;
13
13
* data structure, and implement both `MovePtr` for it as well as `TyVisitor`;
14
14
* then build a MovePtrAdaptor wrapped around your struct.
15
15
*/
16
- trait MovePtr {
16
+ pub trait MovePtr {
17
17
fn move_ptr ( adjustment : fn ( * c_void ) -> * c_void ) ;
18
18
}
19
19
You can’t perform that action at this time.
0 commit comments