diff options
| author | bors <bors@rust-lang.org> | 2015-08-13 23:32:30 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-08-13 23:32:30 +0000 |
| commit | 82b89645fb6ec31138d5788b588ddd7e44c434fa (patch) | |
| tree | 46903a10262b98e3c864f47c76835336f811675c /src/libstd/rt | |
| parent | a4066271b77810aec0a4a309f66a45e4f8b940de (diff) | |
| parent | 8d90d3f36871a00023cc1f313f91e351c287ca15 (diff) | |
| download | rust-82b89645fb6ec31138d5788b588ddd7e44c434fa.tar.gz rust-82b89645fb6ec31138d5788b588ddd7e44c434fa.zip | |
Auto merge of #27684 - alexcrichton:remove-deprecated, r=aturon
This commit removes all unstable and deprecated functions in the standard library. A release was recently cut (1.3) which makes this a good time for some spring cleaning of the deprecated functions.
Diffstat (limited to 'src/libstd/rt')
| -rw-r--r-- | src/libstd/rt/mod.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/libstd/rt/mod.rs b/src/libstd/rt/mod.rs index 24a4575aa54..2ace6e4cf8d 100644 --- a/src/libstd/rt/mod.rs +++ b/src/libstd/rt/mod.rs @@ -59,7 +59,6 @@ fn lang_start(main: *const u8, argc: isize, argv: *const *const u8) -> isize { use prelude::v1::*; use mem; - use env; use rt; use sys_common::thread_info::{self, NewThread}; use thread::Thread; @@ -105,9 +104,7 @@ fn lang_start(main: *const u8, argc: isize, argv: *const *const u8) -> isize { if failed { rt::DEFAULT_ERROR_CODE } else { - #[allow(deprecated)] - fn exit_status() -> isize { env::get_exit_status() as isize } - exit_status() + 0 } } |
