diff options
| author | Tatsuyuki Ishi <ishitatsuyuki@gmail.com> | 2018-03-18 23:02:06 +0900 |
|---|---|---|
| committer | Tatsuyuki Ishi <ishitatsuyuki@gmail.com> | 2018-03-19 11:41:28 +0900 |
| commit | a185b56b7caca17c7aa9d6f702fe1b2209c82e4e (patch) | |
| tree | 466100d0d7eae30a20d65f9b9ab2e6792cc864f2 /src/libstd/thread | |
| parent | 1bb89f1b3cf1e4b5fa83391872136251c0030c1e (diff) | |
| download | rust-a185b56b7caca17c7aa9d6f702fe1b2209c82e4e.tar.gz rust-a185b56b7caca17c7aa9d6f702fe1b2209c82e4e.zip | |
Address review comments
Diffstat (limited to 'src/libstd/thread')
| -rw-r--r-- | src/libstd/thread/mod.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/libstd/thread/mod.rs b/src/libstd/thread/mod.rs index b686ddc205e..71aee673cfe 100644 --- a/src/libstd/thread/mod.rs +++ b/src/libstd/thread/mod.rs @@ -208,14 +208,6 @@ pub use self::local::{LocalKey, AccessError}; #[unstable(feature = "libstd_thread_internals", issue = "0")] #[doc(hidden)] pub use self::local::os::Key as __OsLocalKeyInner; -/// Function used for resetting the main stack guard address after setrlimit(). -/// This is POSIX specific and unlikely to be directly stabilized. -#[unstable(feature = "rustc_stack_internals", issue = "0")] -pub unsafe fn update_stack_guard() { - let main_guard = imp::guard::init(); - thread_info::reset_guard(main_guard); -} - //////////////////////////////////////////////////////////////////////////////// // Builder //////////////////////////////////////////////////////////////////////////////// |
