File tree 5 files changed +5
-11
lines changed
5 files changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ fn debug_mem() -> bool {
154
154
#[ cfg( notest) ]
155
155
#[ lang="annihilate" ]
156
156
pub unsafe fn annihilate ( ) {
157
- use rt :: local_free;
157
+ use unstable :: lang :: local_free;
158
158
use io:: WriterUtil ;
159
159
use io;
160
160
use libc;
Original file line number Diff line number Diff line change @@ -225,8 +225,6 @@ pub const debug : u32 = 4_u32;
225
225
226
226
/* Unsupported interfaces */
227
227
228
- // The runtime interface used by the compiler
229
- #[cfg(notest)] pub mod rt;
230
228
// Private APIs
231
229
pub mod unstable;
232
230
// NOTE: Remove after snapshot
Original file line number Diff line number Diff line change @@ -19,11 +19,7 @@ use prelude::*;
19
19
use task:: rt;
20
20
use task:: local_data:: LocalDataKey ;
21
21
22
- #[ cfg( notest) ]
23
- use rt:: rust_task;
24
- #[ cfg( test) ]
25
- #[ allow( non_camel_case_types) ]
26
- type rust_task = libc:: c_void ;
22
+ use super :: rt:: rust_task;
27
23
28
24
pub trait LocalData { }
29
25
impl < T : Durable > LocalData for @T { }
Original file line number Diff line number Diff line change @@ -36,6 +36,9 @@ pub mod exchange_alloc;
36
36
pub mod intrinsics;
37
37
#[ path = "unstable/extfmt.rs" ]
38
38
pub mod extfmt;
39
+ #[ path = "unstable/lang.rs" ]
40
+ #[ cfg( notest) ]
41
+ pub mod lang;
39
42
40
43
extern mod rustrt {
41
44
pub unsafe fn rust_create_little_lock ( ) -> rust_little_lock ;
Original file line number Diff line number Diff line change @@ -20,9 +20,6 @@ use cast::transmute;
20
20
21
21
use gc:: { cleanup_stack_for_failure, gc, Word } ;
22
22
23
- #[ allow( non_camel_case_types) ]
24
- pub type rust_task = c_void ;
25
-
26
23
#[ cfg( target_word_size = "32" ) ]
27
24
pub const FROZEN_BIT : uint = 0x80000000 ;
28
25
#[ cfg( target_word_size = "64" ) ]
You can’t perform that action at this time.
0 commit comments