Skip to content

Commit 81fdc51

Browse files
committed
---
yaml --- r: 227612 b: refs/heads/try c: 96cce02 h: refs/heads/master v: v3
1 parent 9d43c47 commit 81fdc51

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
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: aca2057ed5fb7af3f8905b2bc01f72fa001c35c8
33
refs/heads/snap-stage3: 1af31d4974e33027a68126fa5a5a3c2c6491824f
4-
refs/heads/try: 0d818b4ee4a978babc8781ece028a7d0e9ed2e36
4+
refs/heads/try: 96cce02924b83227b53799c2992f5040340528fc
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
66
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
77
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try/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)