Skip to content

Commit e07a534

Browse files
committed
---
yaml --- r: 213000 b: refs/heads/master c: 96cce02 h: refs/heads/master v: v3
1 parent dbe0377 commit e07a534

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,5 +1,5 @@
11
---
2-
refs/heads/master: 0d818b4ee4a978babc8781ece028a7d0e9ed2e36
2+
refs/heads/master: 96cce02924b83227b53799c2992f5040340528fc
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: ba0e1cd8147d452c356aacb29fb87568ca26f111
55
refs/heads/try: 1864973ae17213c5a58c4dd3f9af6d1b6c7d2e05

trunk/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)