mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-15 20:45:45 +03:00
Rollup merge of #49612 - tmccombs:stabilize-getpid, r=kennytm
Fix "since" version for getpid feature. It was stabilized right before the beta branch was cut for 1.26.0. See https://github.com/rust-lang/rust/pull/49523#issuecomment-377996315 This will need to be backported to beta (1.26.0)
This commit is contained in:
@@ -1426,7 +1426,7 @@ pub fn abort() -> ! {
|
||||
/// ```
|
||||
///
|
||||
///
|
||||
#[stable(feature = "getpid", since = "1.27.0")]
|
||||
#[stable(feature = "getpid", since = "1.26.0")]
|
||||
pub fn id() -> u32 {
|
||||
::sys::os::getpid()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user