File tree Expand file tree Collapse file tree 3 files changed +6
-10
lines changed
branches/snap-stage3/src/libstd Expand file tree Collapse file tree 3 files changed +6
-10
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 2d28d645422c1617be58c8ca7ad9a457264ca850
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: 9ef4c413a869b4fc1e5df3f79f484b2ffd46cda0
4
+ refs/heads/snap-stage3: 021e81fbd311d93c94cbd40524ff53062fd7fe6e
5
5
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
Original file line number Diff line number Diff line change @@ -39,18 +39,10 @@ macro_rules! rtassert (
39
39
)
40
40
41
41
42
- // The do_abort function was originally inside the abort macro, but
43
- // this was ICEing the compiler so it has been moved outside. Now this
44
- // seems to work?
45
- #[ allow( missing_doc) ]
46
- pub fn do_abort ( ) -> ! {
47
- unsafe { :: libc:: abort ( ) ; }
48
- }
49
-
50
42
macro_rules! abort(
51
43
( $( $msg: expr) ,+) => ( {
52
44
rtdebug!( $( $msg) ,+) ;
53
- :: macros :: do_abort ( ) ;
45
+ :: rt :: util :: abort ( ) ;
54
46
} )
55
47
)
56
48
Original file line number Diff line number Diff line change @@ -19,4 +19,8 @@ pub fn num_cpus() -> uint {
19
19
extern {
20
20
fn rust_get_num_cpus ( ) -> libc:: uintptr_t ;
21
21
}
22
+ }
23
+
24
+ pub fn abort ( ) -> ! {
25
+ unsafe { libc:: abort ( ) ; }
22
26
}
You can’t perform that action at this time.
0 commit comments