File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
branches/stable/src/libstd Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,6 @@ refs/heads/tmp: e5d90d98402475b6e154ce216f9efcb80da1a747
29
29
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
30
30
refs/tags/homu-tmp: 1fe32ca12c51afcd761d9962f51a74ff0d07a591
31
31
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32
- refs/heads/stable: 0d818b4ee4a978babc8781ece028a7d0e9ed2e36
32
+ refs/heads/stable: 96cce02924b83227b53799c2992f5040340528fc
33
33
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
34
34
refs/tags/1.1.0: bc3c16f09287e5545c1d3f76b7abd54f2eca868b
Original file line number Diff line number Diff line change @@ -486,13 +486,15 @@ static EXIT_STATUS: AtomicIsize = AtomicIsize::new(0);
486
486
///
487
487
/// Note that this is not synchronized against modifications of other threads.
488
488
#[ unstable( feature = "exit_status" , reason = "managing the exit status may change" ) ]
489
+ #[ deprecated( since = "1.2.0" , reason = "use process::exit instead" ) ]
489
490
pub fn set_exit_status ( code : i32 ) {
490
491
EXIT_STATUS . store ( code as isize , Ordering :: SeqCst )
491
492
}
492
493
493
494
/// Fetches the process's current exit code. This defaults to 0 and can change
494
495
/// by calling `set_exit_status`.
495
496
#[ unstable( feature = "exit_status" , reason = "managing the exit status may change" ) ]
497
+ #[ deprecated( since = "1.2.0" , reason = "use process::exit instead" ) ]
496
498
pub fn get_exit_status ( ) -> i32 {
497
499
EXIT_STATUS . load ( Ordering :: SeqCst ) as i32
498
500
}
You can’t perform that action at this time.
0 commit comments