Skip to content

Commit b8d06d7

Browse files
committed
---
yaml --- r: 225950 b: refs/heads/stable c: 96cce02 h: refs/heads/master v: v3
1 parent 47decad commit b8d06d7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ refs/heads/tmp: e5d90d98402475b6e154ce216f9efcb80da1a747
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: 1fe32ca12c51afcd761d9962f51a74ff0d07a591
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32-
refs/heads/stable: 0d818b4ee4a978babc8781ece028a7d0e9ed2e36
32+
refs/heads/stable: 96cce02924b83227b53799c2992f5040340528fc
3333
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
3434
refs/tags/1.1.0: bc3c16f09287e5545c1d3f76b7abd54f2eca868b

branches/stable/src/libstd/env.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -486,13 +486,15 @@ static EXIT_STATUS: AtomicIsize = AtomicIsize::new(0);
486486
///
487487
/// Note that this is not synchronized against modifications of other threads.
488488
#[unstable(feature = "exit_status", reason = "managing the exit status may change")]
489+
#[deprecated(since = "1.2.0", reason = "use process::exit instead")]
489490
pub fn set_exit_status(code: i32) {
490491
EXIT_STATUS.store(code as isize, Ordering::SeqCst)
491492
}
492493

493494
/// Fetches the process's current exit code. This defaults to 0 and can change
494495
/// by calling `set_exit_status`.
495496
#[unstable(feature = "exit_status", reason = "managing the exit status may change")]
497+
#[deprecated(since = "1.2.0", reason = "use process::exit instead")]
496498
pub fn get_exit_status() -> i32 {
497499
EXIT_STATUS.load(Ordering::SeqCst) as i32
498500
}

0 commit comments

Comments
 (0)