{"id":460018,"date":"2025-05-17T15:00:22","date_gmt":"2025-05-17T15:00:22","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=460018"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=460018","title":{"rendered":"<span>Rust 1.87.0: 10 \u043b\u0435\u0442 Rust, \u0430\u043d\u043e\u043d\u0438\u043c\u043d\u044b\u0435 \u043a\u0430\u043d\u0430\u043b\u044b, \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u044b\u0439 \u0432\u044b\u0437\u043e\u0432 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0445 \u0438\u043d\u0442\u0440\u0438\u043d\u0441\u0438\u043a\u043e\u0432<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-1\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>Rust 1.87.0 \u0438 10 \u043b\u0435\u0442 Rust!<\/p>\n<p> <\/p>\n<p>\u041a\u043e\u043c\u0430\u043d\u0434\u0430 Rust <a href=\"https:\/\/2025.rustweek.org\/celebration\/\" rel=\"nofollow noopener noreferrer\">\u043f\u0440\u0430\u0437\u0434\u043d\u0443\u0435\u0442 10-\u043b\u0435\u0442\u0438\u0435 Rust<\/a> \u0432 \u0423\u0442\u0440\u0435\u0445\u0442\u0435, \u041d\u0438\u0434\u0435\u0440\u043b\u0430\u043d\u0434\u044b, \u0438 \u0440\u0430\u0434\u0430 \u0441\u043e\u043e\u0431\u0449\u0438\u0442\u044c \u043e \u043d\u043e\u0432\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u044f\u0437\u044b\u043a\u0430 \u2014 1.87.0!<\/p>\n<p> <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/\/post_images\/999\/283\/89a\/99928389a8b0db56ac1d9645765ec7c4.jpg\" width=\"744\" height=\"423\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/\/post_images\/999\/283\/89a\/99928389a8b0db56ac1d9645765ec7c4.jpg 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/\/post_images\/999\/283\/89a\/99928389a8b0db56ac1d9645765ec7c4.jpg 781w\" loading=\"lazy\" decode=\"async\"\/> <\/p>\n<p>\u0421\u0435\u0433\u043e\u0434\u043d\u044f\u0448\u043d\u0438\u0439 \u0434\u0435\u043d\u044c \u0440\u0435\u043b\u0438\u0437\u0430 \u0432\u044b\u043f\u0430\u043b \u043d\u0430 10-\u043b\u0435\u0442\u043d\u0438\u0439 \u044e\u0431\u0438\u043b\u0435\u0439 \u0432\u044b\u0445\u043e\u0434\u0430 <a href=\"https:\/\/blog.rust-lang.org\/2015\/05\/15\/Rust-1.0\/\" rel=\"nofollow noopener noreferrer\">Rust 1.0<\/a>!<\/p>\n<p> <\/p>\n<p>\u0421\u043f\u0430\u0441\u0438\u0431\u043e \u043c\u0438\u0440\u0438\u0430\u0434\u0430\u043c \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u043e\u0432, \u043a\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0438\u043b\u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0430\u0434 Rust. \u0412\u044b\u043f\u044c\u0435\u043c \u0437\u0430 \u0435\u0449\u0451 \u043c\u043d\u043e\u0433\u0438\u0435 \u0434\u0435\u0441\u044f\u0442\u0438\u043b\u0435\u0442\u0438\u044f \u0432\u043f\u0435\u0440\u0435\u0434\u0438! \ud83c\udf89<\/p>\n<p> <\/p>\n<hr\/>\n<p> <\/p>\n<p>\u041a\u0430\u043a \u043e\u0431\u044b\u0447\u043d\u043e, \u043d\u043e\u0432\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0432 \u0441\u0435\u0431\u044f \u0432\u0441\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u044b\u043b\u0438 \u0432\u043d\u0435\u0441\u0435\u043d\u044b \u0432 \u0431\u0435\u0442\u0430-\u0432\u0435\u0440\u0441\u0438\u044e \u0437\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 \u0448\u0435\u0441\u0442\u044c \u043d\u0435\u0434\u0435\u043b\u044c \u0441\u043e\u0433\u043b\u0430\u0441\u043d\u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u043c\u0443 \u0438 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e\u043c\u0443 \u0446\u0438\u043a\u043b\u0443 \u0432\u044b\u043f\u0443\u0441\u043a\u0430. \u041c\u044b \u0441\u043b\u0435\u0434\u0443\u0435\u043c \u0435\u043c\u0443 \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 Rust 1.0.<\/p>\n<p> <\/p>\n<p>\u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f Rust, \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u0430\u044f \u0447\u0435\u0440\u0435\u0437 <code>rustup<\/code>, \u0442\u043e \u0434\u043b\u044f \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0434\u043e \u0432\u0435\u0440\u0441\u0438\u0438 1.87.0 \u0432\u0430\u043c \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0443:<\/p>\n<p><a name=\"habracut\"><\/a> <\/p>\n<pre><code class=\"plaintext\">$ rustup update stable<\/code><\/pre>\n<p> <\/p>\n<p>\u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0435\u0449\u0451 \u043d\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d <code>rustup<\/code>, \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0435\u0433\u043e \u0441 <a href=\"https:\/\/www.rust-lang.org\/install.html\" rel=\"nofollow noopener noreferrer\">\u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b<\/a> \u043d\u0430\u0448\u0435\u0433\u043e \u0432\u0435\u0431-\u0441\u0430\u0439\u0442\u0430, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c <a href=\"https:\/\/doc.rust-lang.org\/stable\/releases.html#version-1870-2025-04-03\" rel=\"nofollow noopener noreferrer\">\u043f\u043e\u0434\u0440\u043e\u0431\u043d\u044b\u0435 \u043f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u044f \u043a \u0432\u044b\u043f\u0443\u0441\u043a\u0443<\/a> \u043d\u0430 GitHub.<\/p>\n<p> <\/p>\n<p>\u0415\u0441\u043b\u0438 \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u043e\u043c\u043e\u0447\u044c \u043d\u0430\u043c \u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0431\u0443\u0434\u0443\u0449\u0438\u0435 \u0432\u044b\u043f\u0443\u0441\u043a\u0438, \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u0430\u043d\u0430\u043b beta (<code>rustup default beta<\/code>) \u0438\u043b\u0438 nightly (<code>rustup default nightly<\/code>). \u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, <a href=\"https:\/\/github.com\/rust-lang\/rust\/issues\/new\/choose\" rel=\"nofollow noopener noreferrer\">\u0441\u043e\u043e\u0431\u0449\u0430\u0439\u0442\u0435<\/a> \u043e\u0431\u043e \u0432\u0441\u0435\u0445 \u0432\u0441\u0442\u0440\u0435\u0447\u0435\u043d\u043d\u044b\u0445 \u0432\u0430\u043c\u0438 \u043e\u0448\u0438\u0431\u043a\u0430\u0445.<\/p>\n<p> <\/p>\n<h2 id=\"chto-stabilizirovano-v-1870\">\u0427\u0442\u043e \u0441\u0442\u0430\u0431\u0438\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043e \u0432 1.87.0<\/h2>\n<p> <\/p>\n<h3 id=\"anonimnye-konveyery\">\u0410\u043d\u043e\u043d\u0438\u043c\u043d\u044b\u0435 \u043a\u043e\u043d\u0432\u0435\u0439\u0435\u0440\u044b<\/h3>\n<p> <\/p>\n<p>1.87 \u0434\u0430\u0451\u0442 \u0434\u043e\u0441\u0442\u0443\u043f \u0438\u0437 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u043a \u0430\u043d\u043e\u043d\u0438\u043c\u043d\u044b\u043c \u043a\u0430\u043d\u0430\u043b\u0430\u043c, \u0432\u043a\u043b\u044e\u0447\u0430\u044f \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044e \u0441 \u043c\u0435\u0442\u043e\u0434\u0430\u043c\u0438 \u0432\u0432\u043e\u0434\u0430\/\u0432\u044b\u0432\u043e\u0434\u0430 <code>std::process::Command<\/code>. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0438\u0442\u044c <code>stdout<\/code> \u0438 <code>stderr<\/code> \u0432 \u043e\u0434\u0438\u043d \u043f\u043e\u0442\u043e\u043a \u0442\u0435\u043f\u0435\u0440\u044c \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e, \u0432 \u0442\u043e \u0432\u0440\u0435\u043c\u044f \u043a\u0430\u043a \u0440\u0430\u043d\u044c\u0448\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0431\u044b\u043b\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0440\u0430\u0437\u043d\u044b\u0435 \u043f\u043e\u0442\u043e\u043a\u0438 \u0438\u043b\u0438 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u043e-\u0441\u043f\u0435\u0446\u0438\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438.<\/p>\n<p> <\/p>\n<pre><code class=\"rust\">use std::process::Command; use std::io::Read;  let (mut recv, send) = std::io::pipe()?;  let mut command = Command::new(\"path\/to\/bin\")     \/\/ \u0418 stdout, \u0438 stderr \u0442\u0435\u043f\u0435\u0440\u044c \u043f\u0438\u0448\u0443\u0442 \u0432 \u043e\u0434\u0438\u043d \u043a\u0430\u043d\u0430\u043b.     .stdout(send.try_clone()?)     .stderr(send)     .spawn()?;  let mut output = Vec::new(); recv.read_to_end(&amp;mut output)?;  \/\/ \u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e \u0447\u0442\u043e \u043c\u044b \u0447\u0438\u0442\u0430\u0435\u043c \u0438\u0437 \u043a\u0430\u043d\u0430\u043b\u0430 \u0434\u043e \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430, \u0434\u043b\u044f \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \/\/ \u043f\u0435\u0440\u0435\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0431\u0443\u0444\u0435\u0440\u0430 \u041e\u0421, \u0435\u0441\u043b\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0441\u043e\u0437\u0434\u0430\u0441\u0442 \u043e\u0447\u0435\u043d\u044c \u043c\u043d\u043e\u0433\u043e \u0432\u044b\u0432\u043e\u0434\u0430. assert!(command.wait()?.success());<\/code><\/pre>\n<p> <\/p>\n<h3 id=\"bezopasnye-arhitekturnye-intrinsiki\">\u0411\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u044b\u0435 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u043d\u044b\u0435 \u0438\u043d\u0442\u0440\u0438\u043d\u0441\u0438\u043a\u0438<\/h3>\n<p> <\/p>\n<p>\u0411\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u0438\u043d\u0442\u0440\u0438\u043d\u0441\u0438\u043a\u043e\u0432 \u0438\u0437 <code>std::arch<\/code>, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435\u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u044b \u0442\u043e\u043b\u044c\u043a\u043e \u0438\u0437-\u0437\u0430 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0442\u0440\u0435\u0431\u0443\u044e\u0442 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0442\u0430\u0440\u0433\u0435\u0442-\u0444\u0438\u0447, \u0442\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0432\u044b\u0437\u0432\u0430\u043d\u044b \u0438\u0437 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u044d\u0442\u0438 \u0444\u0438\u0447\u0438 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u044b. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0430\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430, \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u044e\u0449\u0430\u044f \u0441\u0443\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0440\u0443\u0447\u043d\u044b\u0445 \u0438\u043d\u0442\u0440\u0438\u043d\u0441\u0438\u043a\u043e\u0432, \u0442\u0435\u043f\u0435\u0440\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u044b\u0439 \u043a\u043e\u0434 \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u0446\u0438\u043a\u043b\u0435.<\/p>\n<p> <\/p>\n<pre><code class=\"rust\">#![forbid(unsafe_op_in_unsafe_fn)]  use std::arch::x86_64::*;  fn sum(slice: &amp;[u32]) -&gt; u32 {     #[cfg(target_arch = \"x86_64\")]     {         if is_x86_feature_detected!(\"avx2\") {             \/\/ \u0411\u0415\u0417\u041e\u041f\u0410\u0421\u041d\u041e\u0421\u0422\u042c: \u0412\u043e \u0432\u0440\u0435\u043c\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u043c\u044b \u0443\u0434\u043e\u0441\u0442\u043e\u0432\u0435\u0440\u0438\u043b\u0438\u0441\u044c, \u0447\u0442\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u0430\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442,             \/\/ \u0442\u0430\u043a \u0447\u0442\u043e \u0432\u044b\u0437\u044b\u0432\u0430\u0442\u044c \u044d\u0442\u0443 \u0444\u0443\u043d\u043a\u0438\u0446\u044e \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e.             return unsafe { sum_avx2(slice) };         }     }      slice.iter().sum() }  #[target_feature(enable = \"avx2\")] #[cfg(target_arch = \"x86_64\")] fn sum_avx2(slice: &amp;[u32]) -&gt; u32 {     \/\/ \u0411\u0415\u0417\u041e\u041f\u0410\u0421\u041d\u041e\u0421\u0422\u042c: __m256i \u0438 u32 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u043e \u0432\u0430\u043b\u0438\u0434\u043d\u044b.     let (prefix, middle, tail) = unsafe { slice.align_to::&lt;__m256i&gt;() };      let mut sum = prefix.iter().sum::&lt;u32&gt;();     sum += tail.iter().sum::&lt;u32&gt;();      \/\/ \u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0446\u0438\u043a\u043b \u0442\u0435\u043f\u0435\u0440\u044c \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0438\u043d\u0442\u0440\u0438\u043d\u0441\u0438\u043a\u0438, \u0442\u0440\u0435\u0431\u0443\u044e\u0449\u0438\u0435 \u0442\u0430\u0440\u0433\u0435\u0442 \u0444\u0438\u0447\u0443 (avx2),     \/\/ \u0443\u043f\u0430\u043a\u043e\u0432\u0430\u043d\u044b \u0432 \u0441\u0430\u043c\u0443 \u0444\u0443\u043d\u043a\u0446\u0438\u044e.     let mut base = _mm256_setzero_si256();     for e in middle.iter() {         base = _mm256_add_epi32(base, *e);     }      \/\/ \u0411\u0415\u0417\u041e\u041f\u0410\u0421\u041d\u041e\u0421\u0422\u042c: __m256i \u0438 u32 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u043e \u0432\u0430\u043b\u0438\u0434\u043d\u044b.     let base: [u32; 8] = unsafe { std::mem::transmute(base) };     sum += base.iter().sum::&lt;u32&gt;();      sum }<\/code><\/pre>\n<p> <\/p>\n<h3 id=\"asm-pryzhki-v-rust-kod\"><code>asm!<\/code> \u043f\u0440\u044b\u0436\u043a\u0438 \u0432 Rust-\u043a\u043e\u0434<\/h3>\n<p> <\/p>\n<p>\u0412\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 \u0430\u0441\u0441\u0435\u043c\u0431\u043b\u0435\u0440 (<code>asm!<\/code>) \u0442\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u044b\u0433\u0430\u0442\u044c \u0432 \u043f\u043e\u043c\u0435\u0447\u0435\u043d\u043d\u044b\u0435 \u0443\u0447\u0430\u0441\u0442\u043a\u0438 Rust-\u043a\u043e\u0434\u0430. \u042d\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442 \u0431\u043e\u043b\u0435\u0435 \u0433\u0438\u0431\u043a\u0438\u043c \u043d\u0438\u0437\u043a\u043e\u0443\u0440\u043e\u0432\u043d\u0435\u0432\u043e\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u2014 \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0432 \u044f\u0434\u0440\u0430\u0445 \u041e\u0421 \u0438\u043b\u0438 \u0431\u043e\u043b\u0435\u0435 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e\u0435 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u0441 \u0436\u0435\u043b\u0435\u0437\u043e\u043c.<\/p>\n<p> <\/p>\n<ul>\n<li>\u041c\u0430\u043a\u0440\u043e\u0441 <code>asm!<\/code> \u0442\u0435\u043f\u0435\u0440\u044c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043e\u043f\u0435\u0440\u0430\u043d\u0434 <code>label<\/code>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043a\u0430\u043a \u043f\u0435\u0440\u0435\u0445\u043e\u0434 \u043a \u043c\u0435\u0442\u043a\u0435<\/li>\n<li>\u041c\u0435\u0442\u043a\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u0431\u043b\u043e\u0447\u043d\u044b\u043c \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435\u043c \u0441 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c\u044b\u043c \u0442\u0438\u043f\u043e\u043c <code>()<\/code> \u0438\u043b\u0438 <code>!<\/code><\/li>\n<li>\u0411\u043b\u043e\u043a \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f, \u043a\u043e\u0433\u0434\u0430 \u043d\u0430 \u043d\u0435\u0433\u043e \u0441\u043e\u0432\u0435\u0440\u0448\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u044b\u0436\u043e\u043a. \u0412\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u0442\u0441\u044f \u043f\u043e\u0441\u043b\u0435 \u0431\u043b\u043e\u043a\u0430 <code>asm!<\/code>.<\/li>\n<li>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u043d\u0434\u043e\u0432 <code>output<\/code> \u0438 <code>label<\/code> \u0432 \u043e\u0434\u043d\u043e\u043c \u0432\u044b\u0437\u043e\u0432\u0435 <code>asm!<\/code> \u043e\u0441\u0442\u0430\u0451\u0442\u0441\u044f <a href=\"https:\/\/github.com\/rust-lang\/rust\/issues\/119364\" rel=\"nofollow noopener noreferrer\">unstable<\/a>.<\/li>\n<\/ul>\n<p> <\/p>\n<pre><code class=\"rust\">unsafe {     asm!(         \"jmp {}\",         label {             println!(\"\u0412\u044b\u0441\u043a\u043e\u0447\u0438\u043b \u0438\u0437 asm!\");         }     ); }<\/code><\/pre>\n<p> <\/p>\n<p>\u0411\u043e\u043b\u044c\u0448\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u0432 <a href=\"https:\/\/doc.rust-lang.org\/nightly\/reference\/inline-assembly.html#r-asm.operand-type.supported-operands.label\" rel=\"nofollow noopener noreferrer\">reference<\/a>.<\/p>\n<p> <\/p>\n<h3 id=\"precizionnyy-zahvat--use-v-impl-trait-v-obyavlenii-treytov\">\u041f\u0440\u0435\u0446\u0438\u0437\u0438\u043e\u043d\u043d\u044b\u0439 \u0437\u0430\u0445\u0432\u0430\u0442 (<code>+ use&lt;...&gt;<\/code>) \u0432 <code>impl Trait<\/code> \u0432 \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0438 \u0442\u0440\u0435\u0439\u0442\u043e\u0432<\/h3>\n<p> <\/p>\n<p>\u0412 \u044d\u0442\u043e\u043c \u0432\u044b\u043f\u0443\u0441\u043a\u0435 \u0441\u0442\u0430\u0431\u0438\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u0435 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0445 \u0437\u0430\u0445\u0432\u0430\u0447\u0435\u043d\u043d\u044b\u0445 \u043e\u0431\u043e\u0431\u0449\u0451\u043d\u043d\u044b\u0445 \u0442\u0438\u043f\u043e\u0432 \u0438 \u0432\u0440\u0435\u043c\u0451\u043d \u0436\u0438\u0437\u043d\u0438 \u0432 \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u044f\u0445 \u0442\u0440\u0435\u0439\u0442\u043e\u0432 \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c\u044b\u0445 \u0442\u0438\u043f\u043e\u0432 <code>impl Trait<\/code>. \u0411\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u0447\u0435\u043c\u0443 \u0442\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u0443 \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u0432 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f\u0445 \u0442\u0440\u0435\u0439\u0442\u043e\u0432, \u0440\u0430\u0441\u0448\u0438\u0440\u044f\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0441\u0442\u0430\u0431\u0438\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0434\u043b\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u0439, \u043d\u0435 \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0445 \u0441 \u0442\u0440\u0435\u0439\u0442\u0430\u043c\u0438, \u0432 <a href=\"https:\/\/blog.rust-lang.org\/2024\/10\/17\/Rust-1.82.0\/#precise-capturing-use-syntax\" rel=\"nofollow noopener noreferrer\">1.82<\/a>.<\/p>\n<p> <\/p>\n<p>\u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432:<\/p>\n<p> <\/p>\n<pre><code class=\"rust\">trait Foo {     fn method&lt;'a&gt;(&amp;'a self) -&gt; impl Sized;      \/\/ ... \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u0443\u0435\u0442\u0441\u044f \u0432\u043e \u0447\u0442\u043e-\u0442\u043e \u0432\u0440\u043e\u0434\u0435:     type Implicit1&lt;'a&gt;: Sized;     fn method_desugared&lt;'a&gt;(&amp;'a self) -&gt; Self::Implicit1&lt;'a&gt;;      \/\/ ... \u0430 \u043f\u0440\u0438 \u043f\u0440\u0435\u0446\u0435\u0437\u0438\u043e\u043d\u043d\u043e\u043c \u0437\u0430\u0445\u0432\u0430\u0442\u0435 ...     fn precise&lt;'a&gt;(&amp;'a self) -&gt; impl Sized + use&lt;Self&gt;;      \/\/ ... \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u0443\u0435\u0442\u0441\u044f \u0432\u043e \u0447\u0442\u043e-\u0442\u043e \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0435:     type Implicit2: Sized;     fn precise_desugared&lt;'a&gt;(&amp;'a self) -&gt; Self::Implicit2; }<\/code><\/pre>\n<p> <\/p>\n<h3 id=\"stabilizirovannye-api\">\u0421\u0442\u0430\u0431\u0438\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 API<\/h3>\n<p> <\/p>\n<ul>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/vec\/struct.Vec.html#method.extract_if\" rel=\"nofollow noopener noreferrer\"><code>Vec::extract_if<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/vec\/struct.ExtractIf.html\" rel=\"nofollow noopener noreferrer\"><code>vec::ExtractIf<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/collections\/struct.LinkedList.html#method.extract_if\" rel=\"nofollow noopener noreferrer\"><code>LinkedList::extract_if<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/collections\/linked_list\/struct.ExtractIf.html\" rel=\"nofollow noopener noreferrer\"><code>linked_list::ExtractIf<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/primitive.slice.html#method.split_off\" rel=\"nofollow noopener noreferrer\"><code>&lt;[T]&gt;::split_off<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/primitive.slice.html#method.split_off_mut\" rel=\"nofollow noopener noreferrer\"><code>&lt;[T]&gt;::split_off_mut<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/primitive.slice.html#method.split_off_first\" rel=\"nofollow noopener noreferrer\"><code>&lt;[T]&gt;::split_off_first<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/primitive.slice.html#method.split_off_first_mut\" rel=\"nofollow noopener noreferrer\"><code>&lt;[T]&gt;::split_off_first_mut<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/primitive.slice.html#method.split_off_last\" rel=\"nofollow noopener noreferrer\"><code>&lt;[T]&gt;::split_off_last<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/primitive.slice.html#method.split_off_last_mut\" rel=\"nofollow noopener noreferrer\"><code>&lt;[T]&gt;::split_off_last_mut<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/alloc\/string\/struct.String.html#method.extend_from_within\" rel=\"nofollow noopener noreferrer\"><code>String::extend_from_within<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/ffi\/os_str\/struct.Display.html\" rel=\"nofollow noopener noreferrer\"><code>os_str::Display<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/ffi\/struct.OsString.html#method.display\" rel=\"nofollow noopener noreferrer\"><code>OsString::display<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/ffi\/struct.OsStr.html#method.display\" rel=\"nofollow noopener noreferrer\"><code>OsStr::display<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/io\/fn.pipe.html\" rel=\"nofollow noopener noreferrer\"><code>io::pipe<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/io\/struct.PipeReader.html\" rel=\"nofollow noopener noreferrer\"><code>io::PipeReader<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/io\/struct.PipeWriter.html\" rel=\"nofollow noopener noreferrer\"><code>io::PipeWriter<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/os\/windows\/io\/struct.OwnedHandle.html#impl-From%3CPipeReader%3E-for-OwnedHandle\" rel=\"nofollow noopener noreferrer\"><code>impl From&lt;PipeReader&gt; for OwnedHandle<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/os\/windows\/io\/struct.OwnedHandle.html#impl-From%3CPipeWriter%3E-for-OwnedHandle\" rel=\"nofollow noopener noreferrer\"><code>impl From&lt;PipeWriter&gt; for OwnedHandle<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/process\/struct.Stdio.html\" rel=\"nofollow noopener noreferrer\"><code>impl From&lt;PipeReader&gt; for Stdio<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/process\/struct.Stdio.html#impl-From%3CPipeWriter%3E-for-Stdio\" rel=\"nofollow noopener noreferrer\"><code>impl From&lt;PipeWriter&gt; for Stdio<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/os\/fd\/struct.OwnedFd.html#impl-From%3CPipeReader%3E-for-OwnedFd\" rel=\"nofollow noopener noreferrer\"><code>impl From&lt;PipeReader&gt; for OwnedFd<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/os\/fd\/struct.OwnedFd.html#impl-From%3CPipeWriter%3E-for-OwnedFd\" rel=\"nofollow noopener noreferrer\"><code>impl From&lt;PipeWriter&gt; for OwnedFd<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/boxed\/struct.Box.html#method.write\" rel=\"nofollow noopener noreferrer\"><code>Box&lt;MaybeUninit&lt;T&gt;&gt;::write<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/string\/struct.String.html#impl-TryFrom%3CVec%3Cu8%3E%3E-for-String\" rel=\"nofollow noopener noreferrer\"><code>impl TryFrom&lt;Vec&lt;u8&gt;&gt; for String<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/primitive.pointer.html#method.offset_from_unsigned\" rel=\"nofollow noopener noreferrer\"><code>&lt;*const T&gt;::offset_from_unsigned<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/primitive.pointer.html#method.byte_offset_from_unsigned\" rel=\"nofollow noopener noreferrer\"><code>&lt;*const T&gt;::byte_offset_from_unsigned<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/primitive.pointer.html#method.offset_from_unsigned-1\" rel=\"nofollow noopener noreferrer\"><code>&lt;*mut T&gt;::offset_from_unsigned<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/primitive.pointer.html#method.byte_offset_from_unsigned-1\" rel=\"nofollow noopener noreferrer\"><code>&lt;*mut T&gt;::byte_offset_from_unsigned<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/ptr\/struct.NonNull.html#method.offset_from_unsigned\" rel=\"nofollow noopener noreferrer\"><code>NonNull::offset_from_unsigned<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/ptr\/struct.NonNull.html#method.byte_offset_from_unsigned\" rel=\"nofollow noopener noreferrer\"><code>NonNull::byte_offset_from_unsigned<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/primitive.usize.html#method.cast_signed\" rel=\"nofollow noopener noreferrer\"><code>&lt;uN&gt;::cast_signed<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/num\/struct.NonZero.html#method.cast_signed-5\" rel=\"nofollow noopener noreferrer\"><code>NonZero::&lt;uN&gt;::cast_signed<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/primitive.isize.html#method.cast_unsigned\" rel=\"nofollow noopener noreferrer\"><code>&lt;iN&gt;::cast_unsigned<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/num\/struct.NonZero.html#method.cast_unsigned-5\" rel=\"nofollow noopener noreferrer\"><code>NonZero::&lt;iN&gt;::cast_unsigned<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/primitive.usize.html#method.is_multiple_of\" rel=\"nofollow noopener noreferrer\"><code>&lt;uN&gt;::is_multiple_of<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/primitive.usize.html#method.unbounded_shl\" rel=\"nofollow noopener noreferrer\"><code>&lt;uN&gt;::unbounded_shl<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/primitive.usize.html#method.unbounded_shr\" rel=\"nofollow noopener noreferrer\"><code>&lt;uN&gt;::unbounded_shr<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/primitive.isize.html#method.unbounded_shl\" rel=\"nofollow noopener noreferrer\"><code>&lt;iN&gt;::unbounded_shl<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/primitive.isize.html#method.unbounded_shr\" rel=\"nofollow noopener noreferrer\"><code>&lt;iN&gt;::unbounded_shr<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/primitive.isize.html#method.midpoint\" rel=\"nofollow noopener noreferrer\"><code>&lt;iN&gt;::midpoint<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/primitive.str.html#method.from_utf8\" rel=\"nofollow noopener noreferrer\"><code>&lt;str&gt;::from_utf8<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/primitive.str.html#method.from_utf8_mut\" rel=\"nofollow noopener noreferrer\"><code>&lt;str&gt;::from_utf8_mut<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/primitive.str.html#method.from_utf8_unchecked\" rel=\"nofollow noopener noreferrer\"><code>&lt;str&gt;::from_utf8_unchecked<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/primitive.str.html#method.from_utf8_unchecked_mut\" rel=\"nofollow noopener noreferrer\"><code>&lt;str&gt;::from_utf8_unchecked_mut<\/code><\/a><\/li>\n<\/ul>\n<p> <\/p>\n<p>\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 API \u0442\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435 <code>const<\/code>:<\/p>\n<p> <\/p>\n<ul>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/str\/fn.from_utf8_mut.html\" rel=\"nofollow noopener noreferrer\"><code>core::str::from_utf8_mut<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/primitive.slice.html#method.copy_from_slice\" rel=\"nofollow noopener noreferrer\"><code>&lt;[T]&gt;::copy_from_slice<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/net\/enum.SocketAddr.html#method.set_ip\" rel=\"nofollow noopener noreferrer\"><code>SocketAddr::set_ip<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/net\/enum.SocketAddr.html#method.set_port\" rel=\"nofollow noopener noreferrer\"><code>SocketAddr::set_port<\/code><\/a>,<\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/net\/struct.SocketAddrV4.html#method.set_ip\" rel=\"nofollow noopener noreferrer\"><code>SocketAddrV4::set_ip<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/net\/struct.SocketAddrV4.html#method.set_port\" rel=\"nofollow noopener noreferrer\"><code>SocketAddrV4::set_port<\/code><\/a>,<\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/net\/struct.SocketAddrV6.html#method.set_ip\" rel=\"nofollow noopener noreferrer\"><code>SocketAddrV6::set_ip<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/net\/struct.SocketAddrV6.html#method.set_port\" rel=\"nofollow noopener noreferrer\"><code>SocketAddrV6::set_port<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/net\/struct.SocketAddrV6.html#method.set_flowinfo\" rel=\"nofollow noopener noreferrer\"><code>SocketAddrV6::set_flowinfo<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/net\/struct.SocketAddrV6.html#method.set_scope_id\" rel=\"nofollow noopener noreferrer\"><code>SocketAddrV6::set_scope_id<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/primitive.char.html#method.is_digit\" rel=\"nofollow noopener noreferrer\"><code>char::is_digit<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/primitive.char.html#method.is_whitespace\" rel=\"nofollow noopener noreferrer\"><code>char::is_whitespace<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/primitive.slice.html#method.as_flattened\" rel=\"nofollow noopener noreferrer\"><code>&lt;[[T; N]]&gt;::as_flattened<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/primitive.slice.html#method.as_flattened_mut\" rel=\"nofollow noopener noreferrer\"><code>&lt;[[T; N]]&gt;::as_flattened_mut<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/string\/struct.String.html#method.into_bytes\" rel=\"nofollow noopener noreferrer\"><code>String::into_bytes<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/string\/struct.String.html#method.as_str\" rel=\"nofollow noopener noreferrer\"><code>String::as_str<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/string\/struct.String.html#method.capacity\" rel=\"nofollow noopener noreferrer\"><code>String::capacity<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/string\/struct.String.html#method.as_bytes\" rel=\"nofollow noopener noreferrer\"><code>String::as_bytes<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/string\/struct.String.html#method.len\" rel=\"nofollow noopener noreferrer\"><code>String::len<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/string\/struct.String.html#method.is_empty\" rel=\"nofollow noopener noreferrer\"><code>String::is_empty<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/string\/struct.String.html#method.as_mut_str\" rel=\"nofollow noopener noreferrer\"><code>String::as_mut_str<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/string\/struct.String.html#method.as_mut_vec\" rel=\"nofollow noopener noreferrer\"><code>String::as_mut_vec<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/vec\/struct.Vec.html#method.as_ptr\" rel=\"nofollow noopener noreferrer\"><code>Vec::as_ptr<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/vec\/struct.Vec.html#method.as_slice\" rel=\"nofollow noopener noreferrer\"><code>Vec::as_slice<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/vec\/struct.Vec.html#method.capacity\" rel=\"nofollow noopener noreferrer\"><code>Vec::capacity<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/vec\/struct.Vec.html#method.len\" rel=\"nofollow noopener noreferrer\"><code>Vec::len<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/vec\/struct.Vec.html#method.is_empty\" rel=\"nofollow noopener noreferrer\"><code>Vec::is_empty<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/vec\/struct.Vec.html#method.as_mut_slice\" rel=\"nofollow noopener noreferrer\"><code>Vec::as_mut_slice<\/code><\/a><\/li>\n<li><a href=\"https:\/\/doc.rust-lang.org\/stable\/std\/vec\/struct.Vec.html#method.as_mut_ptr\" rel=\"nofollow noopener noreferrer\"><code>Vec::as_mut_ptr<\/code><\/a><\/li>\n<\/ul>\n<p> <\/p>\n<h3 id=\"udalenie-targeta-i586-pc-windows-msvc\">\u0423\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u0442\u0430\u0440\u0433\u0435\u0442\u0430 <code>i586-pc-windows-msvc<\/code><\/h3>\n<p> <\/p>\n<p>\u0422\u0430\u0440\u0433\u0435\u0442 <code>i586-pc-windows-msvc<\/code> \u0443\u0434\u0430\u043b\u0451\u043d \u0438\u0437 Tier 2. \u041e\u0442\u043b\u0438\u0447\u0438\u0435 <code>i586-pc-windows-msvc<\/code> \u043e\u0442 \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u043e\u0433\u043e \u0442\u0430\u0440\u0433\u0435\u0442\u0430 <code>i686-pc-windows-msvc<\/code> \u0438\u0437 Tier 1 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e <code>i586-pc-windows-msvc<\/code> \u043d\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0439 SSE2. \u041d\u043e Windows 10, \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u041e\u0421 \u0434\u043b\u044f \u0432\u0441\u0435\u0445 <code>windows<\/code>-\u0442\u0430\u0440\u0433\u0435\u0442\u043e\u0432 (\u0437\u0430 \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c <code>win7<\/code>), \u0441\u0430\u043c\u0430 \u043f\u043e \u0441\u0435\u0431\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0439 SSE2.<\/p>\n<p> <\/p>\n<p>\u0412\u0441\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0449\u0438\u0435 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0446\u0435\u043b\u0435\u0432\u043e\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b <code>i586-pc-windows-msvc<\/code>, \u0434\u043e\u043b\u0436\u043d\u044b \u043c\u0438\u0433\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430 <code>i686-pc-windows-msvc<\/code>.<\/p>\n<p> <\/p>\n<p>\u0414\u043b\u044f \u0431\u043e\u043b\u044c\u0448\u0435\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0437\u0443\u0447\u0438\u0442\u044c <a href=\"https:\/\/github.com\/rust-lang\/compiler-team\/issues\/840\" rel=\"nofollow noopener noreferrer\">Major Change Proposal<\/a>.<\/p>\n<p> <\/p>\n<h3 id=\"prochie-izmeneniya\">\u041f\u0440\u043e\u0447\u0438\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f<\/h3>\n<p> <\/p>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u0432\u0441\u0451, \u0447\u0442\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u043e\u0441\u044c \u0432 <a href=\"https:\/\/github.com\/rust-lang\/rust\/releases\/tag\/1.87.0\" rel=\"nofollow noopener noreferrer\">Rust<\/a>, <a href=\"https:\/\/doc.rust-lang.org\/nightly\/cargo\/CHANGELOG.html#cargo-187-2025-05-15\" rel=\"nofollow noopener noreferrer\">Cargo<\/a> \u0438 <a href=\"https:\/\/github.com\/rust-lang\/rust-clippy\/blob\/master\/CHANGELOG.md#rust-187\" rel=\"nofollow noopener noreferrer\">Clippy<\/a>.<\/p>\n<p> <\/p>\n<h2 id=\"kto-rabotal-nad-1870\">\u041a\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u043d\u0430\u0434 1.87.0<\/h2>\n<p> <\/p>\n<p>\u041c\u043d\u043e\u0433\u0438\u0435 \u043b\u044e\u0434\u0438 \u0441\u043e\u0431\u0440\u0430\u043b\u0438\u0441\u044c \u0432\u043c\u0435\u0441\u0442\u0435, \u0447\u0442\u043e\u0431\u044b \u0441\u043e\u0437\u0434\u0430\u0442\u044c Rust 1.87.0. \u0411\u0435\u0437 \u0432\u0430\u0441 \u043c\u044b \u0431\u044b \u043d\u0435 \u0441\u043f\u0440\u0430\u0432\u0438\u043b\u0438\u0441\u044c. <a href=\"https:\/\/thanks.rust-lang.org\/rust\/1.87.0\/\" rel=\"nofollow noopener noreferrer\">\u0421\u043f\u0430\u0441\u0438\u0431\u043e!<\/a><\/p>\n<p> <\/p>\n<h2 id=\"ot-perevodchikov\">\u041e\u0442 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0447\u0438\u043a\u043e\u0432<\/h2>\n<p> <\/p>\n<p>\u0421 \u043b\u044e\u0431\u044b\u043c\u0438 \u0432\u043e\u043f\u0440\u043e\u0441\u0430\u043c\u0438 \u043f\u043e \u044f\u0437\u044b\u043a\u0443 Rust \u0432\u0430\u043c \u0441\u043c\u043e\u0433\u0443\u0442 \u043f\u043e\u043c\u043e\u0447\u044c \u0432 <a href=\"https:\/\/t.me\/rustlang_ru\" rel=\"nofollow noopener noreferrer\">\u0440\u0443\u0441\u0441\u043a\u043e\u044f\u0437\u044b\u0447\u043d\u043e\u043c \u0422\u0435\u043b\u0435\u0433\u0440\u0430\u043c-\u0447\u0430\u0442\u0435<\/a> \u0438\u043b\u0438 \u0436\u0435 \u0432 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e\u043c <a href=\"https:\/\/t.me\/rust_beginners_ru\" rel=\"nofollow noopener noreferrer\">\u0447\u0430\u0442\u0435 \u0434\u043b\u044f \u043d\u043e\u0432\u0438\u0447\u043a\u043e\u0432\u044b\u0445 \u0432\u043e\u043f\u0440\u043e\u0441\u043e\u0432<\/a>. \u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c \u0432\u043e\u043f\u0440\u043e\u0441\u044b \u043f\u043e \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0430\u043c \u0438\u043b\u0438 \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u043e\u043c\u043e\u0433\u0430\u0442\u044c \u0441 \u043d\u0438\u043c\u0438, \u0442\u043e \u043e\u0431\u0440\u0430\u0449\u0430\u0439\u0442\u0435\u0441\u044c \u0432 <a href=\"https:\/\/t.me\/rustlang_ru_translations\" rel=\"nofollow noopener noreferrer\">\u0447\u0430\u0442 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0447\u0438\u043a\u043e\u0432<\/a>.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/910204\/\"> https:\/\/habr.com\/ru\/articles\/910204\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-1\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>Rust 1.87.0 \u0438 10 \u043b\u0435\u0442 Rust!<\/p>\n<p> <\/p>\n<p>\u041a\u043e\u043c\u0430\u043d\u0434\u0430 Rust <a href=\"https:\/\/2025.rustweek.org\/celebration\/\" rel=\"nofollow noopener noreferrer\">\u043f\u0440\u0430\u0437\u0434\u043d\u0443\u0435\u0442 10-\u043b\u0435\u0442\u0438\u0435 Rust<\/a> \u0432 \u0423\u0442\u0440\u0435\u0445\u0442\u0435, \u041d\u0438\u0434\u0435\u0440\u043b\u0430\u043d\u0434\u044b, \u0438 \u0440\u0430\u0434\u0430 \u0441\u043e\u043e\u0431\u0449\u0438\u0442\u044c \u043e \u043d\u043e\u0432\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u044f\u0437\u044b\u043a\u0430 \u2014 1.87.0!<\/p>\n<p> <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/\/post_images\/999\/283\/89a\/99928389a8b0db56ac1d9645765ec7c4.jpg\" width=\"744\" height=\"423\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/\/post_images\/999\/283\/89a\/99928389a8b0db56ac1d9645765ec7c4.jpg 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/\/post_images\/999\/283\/89a\/99928389a8b0db56ac1d9645765ec7c4.jpg 781w\" loading=\"lazy\" decode=\"async\"\/> <\/p>\n<p>\u0421\u0435\u0433\u043e\u0434\u043d\u044f\u0448\u043d\u0438\u0439 \u0434\u0435\u043d\u044c \u0440\u0435\u043b\u0438\u0437\u0430 \u0432\u044b\u043f\u0430\u043b \u043d\u0430 10-\u043b\u0435\u0442\u043d\u0438\u0439 \u044e\u0431\u0438\u043b\u0435\u0439 \u0432\u044b\u0445\u043e\u0434\u0430 <a href=\"https:\/\/blog.rust-lang.org\/2015\/05\/15\/Rust-1.0\/\" rel=\"nofollow noopener noreferrer\">Rust 1.0<\/a>!<\/p>\n<p> <\/p>\n<p>\u0421\u043f\u0430\u0441\u0438\u0431\u043e \u043c\u0438\u0440\u0438\u0430\u0434\u0430\u043c \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u043e\u0432, \u043a\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0438\u043b\u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0430\u0434 Rust. \u0412\u044b\u043f\u044c\u0435\u043c \u0437\u0430 \u0435\u0449\u0451 \u043c\u043d\u043e\u0433\u0438\u0435 \u0434\u0435\u0441\u044f\u0442\u0438\u043b\u0435\u0442\u0438\u044f \u0432\u043f\u0435\u0440\u0435\u0434\u0438! \ud83c\udf89<\/p>\n<p> <\/p>\n<hr\/>\n<p> <\/p>\n<p>\u041a\u0430\u043a \u043e\u0431\u044b\u0447\u043d\u043e, \u043d\u043e\u0432\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0432 \u0441\u0435\u0431\u044f \u0432\u0441\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u044b\u043b\u0438 \u0432\u043d\u0435\u0441\u0435\u043d\u044b \u0432 \u0431\u0435\u0442\u0430-\u0432\u0435\u0440\u0441\u0438\u044e \u0437\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 \u0448\u0435\u0441\u0442\u044c \u043d\u0435\u0434\u0435\u043b\u044c \u0441\u043e\u0433\u043b\u0430\u0441\u043d\u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u043c\u0443 \u0438 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e\u043c\u0443 \u0446\u0438\u043a\u043b\u0443 \u0432\u044b\u043f\u0443\u0441\u043a\u0430. \u041c\u044b \u0441\u043b\u0435\u0434\u0443\u0435\u043c \u0435\u043c\u0443 \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 Rust 1.0.<\/p>\n<p> <\/p>\n<p>\u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f Rust, \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u0430\u044f \u0447\u0435\u0440\u0435\u0437 <code>rustup<\/code>, \u0442\u043e \u0434\u043b\u044f \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0434\u043e \u0432\u0435\u0440\u0441\u0438\u0438 1.87.0 \u0432\u0430\u043c \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0443:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-460018","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/460018","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=460018"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/460018\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=460018"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=460018"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=460018"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}