| author | bors <bors@rust-lang.org> 2026-07-06 00:42:21 UTC |
| committer | bors <bors@rust-lang.org> 2026-07-06 00:42:21 UTC |
| log | 6b3fa26749ab40e159b2dd5cf577acaaf5902772 |
| tree | 33d9f9e33bef6c4120c7e4b2285c575d4b5615c6 |
| parent | 7148b31956911d5d5496900bf564ca5212bf199b |
| parent | dcab53adb38a2cfd000a1e4449f6346cfa67fc81 |
[beta] branch 1.98 beta
https://forge.rust-lang.org/release/process.html#beta-pr
r? me24 files changed, 103 insertions(+), 103 deletions(-)
compiler/rustc_feature/src/removed.rs+1-1| ... | ... | @@ -107,7 +107,7 @@ declare_features! ( |
| 107 | 107 | /// Allows deriving traits as per `SmartPointer` specification |
| 108 | 108 | (removed, derive_smart_pointer, "1.84.0", Some(123430), Some("replaced by `CoercePointee`"), 131284), |
| 109 | 109 | /// Allows macros to customize macro argument matcher diagnostics. |
| 110 | (removed, diagnostic_on_unmatch_args, "CURRENT_RUSTC_VERSION", Some(155642), Some("renamed to `diagnostic_on_unmatched_args`"), 157887), | |
| 110 | (removed, diagnostic_on_unmatch_args, "1.98.0", Some(155642), Some("renamed to `diagnostic_on_unmatched_args`"), 157887), | |
| 111 | 111 | /// Tells rustdoc to automatically generate `#[doc(cfg(...))]`. |
| 112 | 112 | (removed, doc_auto_cfg, "1.92.0", Some(43781), Some("merged into `doc_cfg`"), 138907), |
| 113 | 113 | /// Allows `#[doc(cfg_hide(...))]`. |
compiler/rustc_feature/src/unstable.rs+9-9| ... | ... | @@ -455,7 +455,7 @@ declare_features! ( |
| 455 | 455 | /// Allows to use the `#[cfi_encoding = ""]` attribute. |
| 456 | 456 | (unstable, cfi_encoding, "1.71.0", Some(89653)), |
| 457 | 457 | /// The `clflushopt` target feature on x86. |
| 458 | (unstable, clflushopt_target_feature, "CURRENT_RUSTC_VERSION", Some(157096)), | |
| 458 | (unstable, clflushopt_target_feature, "1.98.0", Some(157096)), | |
| 459 | 459 | /// Allows `for<...>` on closures and coroutines. |
| 460 | 460 | (unstable, closure_lifetime_binder, "1.64.0", Some(97362)), |
| 461 | 461 | /// Allows `#[track_caller]` on closures and coroutines. |
| ... | ... | @@ -513,7 +513,7 @@ declare_features! ( |
| 513 | 513 | /// Allows giving on-move borrowck custom diagnostic messages for a type |
| 514 | 514 | (unstable, diagnostic_on_move, "1.96.0", Some(154181)), |
| 515 | 515 | /// Allows giving custom types diagnostic messages on type errors |
| 516 | (unstable, diagnostic_on_type_error, "CURRENT_RUSTC_VERSION", Some(155382)), | |
| 516 | (unstable, diagnostic_on_type_error, "1.98.0", Some(155382)), | |
| 517 | 517 | /// Allows giving unresolved imports a custom diagnostic message |
| 518 | 518 | (unstable, diagnostic_on_unknown, "1.96.0", Some(152900)), |
| 519 | 519 | /// Allows macros to customize macro argument matcher diagnostics. |
| ... | ... | @@ -598,7 +598,7 @@ declare_features! ( |
| 598 | 598 | /// Allows associated types in inherent impls. |
| 599 | 599 | (incomplete, inherent_associated_types, "1.52.0", Some(8995)), |
| 600 | 600 | /// Enable #[instrument_fn] on function. |
| 601 | (unstable, instrument_fn, "CURRENT_RUSTC_VERSION", Some(157081)), | |
| 601 | (unstable, instrument_fn, "1.98.0", Some(157081)), | |
| 602 | 602 | /// Allows using `pointer` and `reference` in intra-doc links |
| 603 | 603 | (unstable, intra_doc_pointers, "1.51.0", Some(80896)), |
| 604 | 604 | /// lahfsahf target feature on x86. |
| ... | ... | @@ -613,7 +613,7 @@ declare_features! ( |
| 613 | 613 | /// Target features on loongarch. |
| 614 | 614 | (unstable, loongarch_target_feature, "1.73.0", Some(150252)), |
| 615 | 615 | /// Allows use of loop optimization hints via attributes. |
| 616 | (unstable, loop_hints, "CURRENT_RUSTC_VERSION", Some(156874)), | |
| 616 | (unstable, loop_hints, "1.98.0", Some(156874)), | |
| 617 | 617 | /// Allows fused `loop`/`match` for direct intraprocedural jumps. |
| 618 | 618 | (incomplete, loop_match, "1.90.0", Some(132306)), |
| 619 | 619 | /// Target features on m68k. |
| ... | ... | @@ -657,7 +657,7 @@ declare_features! ( |
| 657 | 657 | /// Allows `mut ref` and `mut ref mut` identifier patterns. |
| 658 | 658 | (incomplete, mut_ref, "1.79.0", Some(123076)), |
| 659 | 659 | /// Allows `mut(crate) field: Type` restrictions. |
| 660 | (incomplete, mut_restriction, "CURRENT_RUSTC_VERSION", Some(105077)), | |
| 660 | (incomplete, mut_restriction, "1.98.0", Some(105077)), | |
| 661 | 661 | /// Allows using `#[naked]` on `extern "Rust"` functions. |
| 662 | 662 | (unstable, naked_functions_rustic_abi, "1.88.0", Some(138997)), |
| 663 | 663 | /// Allows using `#[target_feature(enable = "...")]` on `#[naked]` on functions. |
| ... | ... | @@ -718,7 +718,7 @@ declare_features! ( |
| 718 | 718 | /// Allows `extern "rust-preserve-none"`. |
| 719 | 719 | (unstable, rust_preserve_none_cc, "1.95.0", Some(151401)), |
| 720 | 720 | /// Allows `extern "tail"`. |
| 721 | (unstable, rust_tail_cc, "CURRENT_RUSTC_VERSION", Some(157427)), | |
| 721 | (unstable, rust_tail_cc, "1.98.0", Some(157427)), | |
| 722 | 722 | /// Target features on s390x. |
| 723 | 723 | (unstable, s390x_target_feature, "1.82.0", Some(150259)), |
| 724 | 724 | /// Allows the use of the `sanitize` attribute. |
| ... | ... | @@ -731,7 +731,7 @@ declare_features! ( |
| 731 | 731 | (incomplete, specialization, "1.7.0", Some(31844)), |
| 732 | 732 | /// Experimental "splatting" of function call arguments at the call site. |
| 733 | 733 | /// e.g. `foo(a, b, c)` calls `#[splat] fn foo((a: A, b: B, c: C))`. |
| 734 | (incomplete, splat, "CURRENT_RUSTC_VERSION", Some(153629)), | |
| 734 | (incomplete, splat, "1.98.0", Some(153629)), | |
| 735 | 735 | /// Allows using `#[rustc_align_static(...)]` on static items. |
| 736 | 736 | (unstable, static_align, "1.91.0", Some(146177)), |
| 737 | 737 | /// Allows attributes on expressions and non-item statements. |
| ... | ... | @@ -762,7 +762,7 @@ declare_features! ( |
| 762 | 762 | /// not changed from prior instances of the same struct (RFC #2528) |
| 763 | 763 | (unstable, type_changing_struct_update, "1.58.0", Some(86555)), |
| 764 | 764 | /// Allows using `_ = <range-or-int>` enum variants. |
| 765 | (incomplete, unnamed_enum_variants, "CURRENT_RUSTC_VERSION", Some(156628)), | |
| 765 | (incomplete, unnamed_enum_variants, "1.98.0", Some(156628)), | |
| 766 | 766 | /// Allows using `unsafe<'a> &'a T` unsafe binder types. |
| 767 | 767 | (incomplete, unsafe_binders, "1.85.0", Some(130516)), |
| 768 | 768 | /// Allows declaring fields `unsafe`. |
| ... | ... | @@ -787,7 +787,7 @@ declare_features! ( |
| 787 | 787 | /// Allows use of the `xop` target-feature |
| 788 | 788 | (unstable, xop_target_feature, "1.81.0", Some(127208)), |
| 789 | 789 | /// Allows use of the Xtensa target-features |
| 790 | (unstable, xtensa_target_feature, "CURRENT_RUSTC_VERSION", Some(157063)), | |
| 790 | (unstable, xtensa_target_feature, "1.98.0", Some(157063)), | |
| 791 | 791 | /// Allows `do yeet` expressions |
| 792 | 792 | (unstable, yeet_expr, "1.62.0", Some(96373)), |
| 793 | 793 | (unstable, yield_expr, "1.87.0", Some(43122)), |
library/alloc/src/boxed.rs+2-2| ... | ... | @@ -1778,7 +1778,7 @@ impl<T: ?Sized, A: Allocator> Box<T, A> { |
| 1778 | 1778 | /// [`as_ptr`]: Self::as_ptr |
| 1779 | 1779 | /// [`as_non_null`]: Self::as_non_null |
| 1780 | 1780 | #[must_use] |
| 1781 | #[stable(feature = "box_as_ptr", since = "CURRENT_RUSTC_VERSION")] | |
| 1781 | #[stable(feature = "box_as_ptr", since = "1.98.0")] | |
| 1782 | 1782 | #[rustc_never_returns_null_ptr] |
| 1783 | 1783 | #[rustc_as_ptr] |
| 1784 | 1784 | #[inline] |
| ... | ... | @@ -1827,7 +1827,7 @@ impl<T: ?Sized, A: Allocator> Box<T, A> { |
| 1827 | 1827 | /// [`as_ptr`]: Self::as_ptr |
| 1828 | 1828 | /// [`as_non_null`]: Self::as_non_null |
| 1829 | 1829 | #[must_use] |
| 1830 | #[stable(feature = "box_as_ptr", since = "CURRENT_RUSTC_VERSION")] | |
| 1830 | #[stable(feature = "box_as_ptr", since = "1.98.0")] | |
| 1831 | 1831 | #[rustc_never_returns_null_ptr] |
| 1832 | 1832 | #[rustc_as_ptr] |
| 1833 | 1833 | #[inline] |
library/alloc/src/string.rs+4-4| ... | ... | @@ -787,7 +787,7 @@ impl String { |
| 787 | 787 | /// assert!(String::from_utf16le(v).is_err()); |
| 788 | 788 | /// ``` |
| 789 | 789 | #[cfg(not(no_global_oom_handling))] |
| 790 | #[stable(feature = "str_from_utf16_endian", since = "CURRENT_RUSTC_VERSION")] | |
| 790 | #[stable(feature = "str_from_utf16_endian", since = "1.98.0")] | |
| 791 | 791 | pub fn from_utf16le(v: &[u8]) -> Result<String, FromUtf16Error> { |
| 792 | 792 | let (chunks, []) = v.as_chunks::<2>() else { |
| 793 | 793 | return Err(FromUtf16Error { kind: FromUtf16ErrorKind::OddBytes }); |
| ... | ... | @@ -825,7 +825,7 @@ impl String { |
| 825 | 825 | /// String::from_utf16le_lossy(v)); |
| 826 | 826 | /// ``` |
| 827 | 827 | #[cfg(not(no_global_oom_handling))] |
| 828 | #[stable(feature = "str_from_utf16_endian", since = "CURRENT_RUSTC_VERSION")] | |
| 828 | #[stable(feature = "str_from_utf16_endian", since = "1.98.0")] | |
| 829 | 829 | pub fn from_utf16le_lossy(v: &[u8]) -> String { |
| 830 | 830 | match (cfg!(target_endian = "little"), unsafe { v.align_to::<u16>() }) { |
| 831 | 831 | (true, ([], v, [])) => Self::from_utf16_lossy(v), |
| ... | ... | @@ -860,7 +860,7 @@ impl String { |
| 860 | 860 | /// assert!(String::from_utf16be(v).is_err()); |
| 861 | 861 | /// ``` |
| 862 | 862 | #[cfg(not(no_global_oom_handling))] |
| 863 | #[stable(feature = "str_from_utf16_endian", since = "CURRENT_RUSTC_VERSION")] | |
| 863 | #[stable(feature = "str_from_utf16_endian", since = "1.98.0")] | |
| 864 | 864 | pub fn from_utf16be(v: &[u8]) -> Result<String, FromUtf16Error> { |
| 865 | 865 | let (chunks, []) = v.as_chunks::<2>() else { |
| 866 | 866 | return Err(FromUtf16Error { kind: FromUtf16ErrorKind::OddBytes }); |
| ... | ... | @@ -898,7 +898,7 @@ impl String { |
| 898 | 898 | /// String::from_utf16be_lossy(v)); |
| 899 | 899 | /// ``` |
| 900 | 900 | #[cfg(not(no_global_oom_handling))] |
| 901 | #[stable(feature = "str_from_utf16_endian", since = "CURRENT_RUSTC_VERSION")] | |
| 901 | #[stable(feature = "str_from_utf16_endian", since = "1.98.0")] | |
| 902 | 902 | pub fn from_utf16be_lossy(v: &[u8]) -> String { |
| 903 | 903 | match (cfg!(target_endian = "big"), unsafe { v.align_to::<u16>() }) { |
| 904 | 904 | (true, ([], v, [])) => Self::from_utf16_lossy(v), |
library/core/src/bool.rs+2-2| ... | ... | @@ -93,7 +93,7 @@ impl bool { |
| 93 | 93 | /// // evaluated eagerly. |
| 94 | 94 | /// assert_eq!(a, 2); |
| 95 | 95 | /// ``` |
| 96 | #[stable(feature = "bool_to_result", since = "CURRENT_RUSTC_VERSION")] | |
| 96 | #[stable(feature = "bool_to_result", since = "1.98.0")] | |
| 97 | 97 | #[rustc_const_unstable(feature = "const_bool", issue = "151531")] |
| 98 | 98 | #[inline] |
| 99 | 99 | pub const fn ok_or<E: [const] Destruct>(self, err: E) -> Result<(), E> { |
| ... | ... | @@ -120,7 +120,7 @@ impl bool { |
| 120 | 120 | /// // `ok_or_else`. |
| 121 | 121 | /// assert_eq!(a, 1); |
| 122 | 122 | /// ``` |
| 123 | #[stable(feature = "bool_to_result", since = "CURRENT_RUSTC_VERSION")] | |
| 123 | #[stable(feature = "bool_to_result", since = "1.98.0")] | |
| 124 | 124 | #[rustc_const_unstable(feature = "const_bool", issue = "151531")] |
| 125 | 125 | #[inline] |
| 126 | 126 | pub const fn ok_or_else<E, F: [const] FnOnce() -> E + [const] Destruct>( |
library/core/src/fmt/mod.rs+1-1| ... | ... | @@ -36,7 +36,7 @@ pub enum Alignment { |
| 36 | 36 | Center, |
| 37 | 37 | } |
| 38 | 38 | |
| 39 | #[stable(feature = "int_format_into", since = "CURRENT_RUSTC_VERSION")] | |
| 39 | #[stable(feature = "int_format_into", since = "1.98.0")] | |
| 40 | 40 | pub use num_buffer::NumBuffer; |
| 41 | 41 | #[unstable(feature = "fmt_internals", issue = "none")] |
| 42 | 42 | pub use num_buffer::NumBufferTrait; |
library/core/src/fmt/num.rs+4-4| ... | ... | @@ -272,7 +272,7 @@ macro_rules! impl_Display { |
| 272 | 272 | #[doc = concat!("let n2 = ", stringify!($Signed::MAX), ";")] |
| 273 | 273 | #[doc = concat!("assert_eq!(n2.format_into(&mut buf), ", stringify!($Signed::MAX), ".to_string());")] |
| 274 | 274 | /// ``` |
| 275 | #[stable(feature = "int_format_into", since = "CURRENT_RUSTC_VERSION")] | |
| 275 | #[stable(feature = "int_format_into", since = "1.98.0")] | |
| 276 | 276 | pub fn format_into(self, buf: &mut NumBuffer<Self>) -> &str { |
| 277 | 277 | let mut offset; |
| 278 | 278 | |
| ... | ... | @@ -316,7 +316,7 @@ macro_rules! impl_Display { |
| 316 | 316 | #[doc = concat!("let n2 = ", stringify!($Unsigned::MAX), ";")] |
| 317 | 317 | #[doc = concat!("assert_eq!(n2.format_into(&mut buf), ", stringify!($Unsigned::MAX), ".to_string());")] |
| 318 | 318 | /// ``` |
| 319 | #[stable(feature = "int_format_into", since = "CURRENT_RUSTC_VERSION")] | |
| 319 | #[stable(feature = "int_format_into", since = "1.98.0")] | |
| 320 | 320 | pub fn format_into(self, buf: &mut NumBuffer<Self>) -> &str { |
| 321 | 321 | let offset; |
| 322 | 322 | |
| ... | ... | @@ -756,7 +756,7 @@ impl u128 { |
| 756 | 756 | /// let mut buf2 = NumBuffer::new(); |
| 757 | 757 | /// assert_eq!(n2.format_into(&mut buf2), u128::MAX.to_string()); |
| 758 | 758 | /// ``` |
| 759 | #[stable(feature = "int_format_into", since = "CURRENT_RUSTC_VERSION")] | |
| 759 | #[stable(feature = "int_format_into", since = "1.98.0")] | |
| 760 | 760 | pub fn format_into(self, buf: &mut NumBuffer<Self>) -> &str { |
| 761 | 761 | let diff = buf.buf.len() - U128_MAX_DEC_N; |
| 762 | 762 | // FIXME: Once const generics are better, use `NumberBufferTrait::BUF_SIZE` as generic const |
| ... | ... | @@ -788,7 +788,7 @@ impl i128 { |
| 788 | 788 | /// let n2 = i128::MAX; |
| 789 | 789 | /// assert_eq!(n2.format_into(&mut buf), i128::MAX.to_string()); |
| 790 | 790 | /// ``` |
| 791 | #[stable(feature = "int_format_into", since = "CURRENT_RUSTC_VERSION")] | |
| 791 | #[stable(feature = "int_format_into", since = "1.98.0")] | |
| 792 | 792 | pub fn format_into(self, buf: &mut NumBuffer<Self>) -> &str { |
| 793 | 793 | let diff = buf.buf.len() - U128_MAX_DEC_N; |
| 794 | 794 | // FIXME: Once const generics are better, use `NumberBufferTrait::BUF_SIZE` as generic const |
library/core/src/fmt/num_buffer.rs+7-7| ... | ... | @@ -14,13 +14,13 @@ pub trait NumBufferTrait { |
| 14 | 14 | macro_rules! impl_NumBufferTrait { |
| 15 | 15 | ($($signed:ident, $unsigned:ident,)*) => { |
| 16 | 16 | $( |
| 17 | #[stable(feature = "int_format_into", since = "CURRENT_RUSTC_VERSION")] | |
| 17 | #[stable(feature = "int_format_into", since = "1.98.0")] | |
| 18 | 18 | impl NumBufferTrait for $signed { |
| 19 | 19 | // `+ 2` and not `+ 1` to include the `-` character. |
| 20 | 20 | const DEFAULT: Self::Buf = [MaybeUninit::<u8>::uninit(); $signed::MAX.ilog10() as usize + 2]; |
| 21 | 21 | type Buf = [MaybeUninit<u8>; $signed::MAX.ilog10() as usize + 2]; |
| 22 | 22 | } |
| 23 | #[stable(feature = "int_format_into", since = "CURRENT_RUSTC_VERSION")] | |
| 23 | #[stable(feature = "int_format_into", since = "1.98.0")] | |
| 24 | 24 | impl NumBufferTrait for $unsigned { |
| 25 | 25 | const DEFAULT: Self::Buf = [MaybeUninit::<u8>::uninit(); $unsigned::MAX.ilog10() as usize + 1]; |
| 26 | 26 | type Buf = [MaybeUninit<u8>; $unsigned::MAX.ilog10() as usize + 1]; |
| ... | ... | @@ -55,24 +55,24 @@ impl_NumBufferTrait! { |
| 55 | 55 | /// let n2 = -1972i32; |
| 56 | 56 | /// assert_eq!(n2.format_into(&mut buf), "-1972"); |
| 57 | 57 | /// ``` |
| 58 | #[stable(feature = "int_format_into", since = "CURRENT_RUSTC_VERSION")] | |
| 58 | #[stable(feature = "int_format_into", since = "1.98.0")] | |
| 59 | 59 | pub struct NumBuffer<T: NumBufferTrait> { |
| 60 | 60 | pub(crate) buf: T::Buf, |
| 61 | 61 | phantom: core::marker::PhantomData<T>, |
| 62 | 62 | } |
| 63 | 63 | |
| 64 | #[stable(feature = "int_format_into", since = "CURRENT_RUSTC_VERSION")] | |
| 64 | #[stable(feature = "int_format_into", since = "1.98.0")] | |
| 65 | 65 | impl<T: NumBufferTrait> core::fmt::Debug for NumBuffer<T> { |
| 66 | 66 | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { |
| 67 | 67 | f.debug_struct("NumBuffer").finish() |
| 68 | 68 | } |
| 69 | 69 | } |
| 70 | 70 | |
| 71 | #[stable(feature = "int_format_into", since = "CURRENT_RUSTC_VERSION")] | |
| 71 | #[stable(feature = "int_format_into", since = "1.98.0")] | |
| 72 | 72 | impl<T: NumBufferTrait> NumBuffer<T> { |
| 73 | 73 | /// Initializes internal buffer. |
| 74 | #[stable(feature = "int_format_into", since = "CURRENT_RUSTC_VERSION")] | |
| 75 | #[rustc_const_stable(feature = "int_format_into", since = "CURRENT_RUSTC_VERSION")] | |
| 74 | #[stable(feature = "int_format_into", since = "1.98.0")] | |
| 75 | #[rustc_const_stable(feature = "int_format_into", since = "1.98.0")] | |
| 76 | 76 | pub const fn new() -> Self { |
| 77 | 77 | NumBuffer { buf: T::DEFAULT, phantom: core::marker::PhantomData } |
| 78 | 78 | } |
library/core/src/num/f32.rs+10-10| ... | ... | @@ -1694,8 +1694,8 @@ impl f32 { |
| 1694 | 1694 | /// |
| 1695 | 1695 | /// See [algebraic operators](primitive@f32#algebraic-operators) for more info. |
| 1696 | 1696 | #[must_use = "method returns a new number and does not mutate the original value"] |
| 1697 | #[stable(feature = "float_algebraic", since = "CURRENT_RUSTC_VERSION")] | |
| 1698 | #[rustc_const_stable(feature = "float_algebraic", since = "CURRENT_RUSTC_VERSION")] | |
| 1697 | #[stable(feature = "float_algebraic", since = "1.98.0")] | |
| 1698 | #[rustc_const_stable(feature = "float_algebraic", since = "1.98.0")] | |
| 1699 | 1699 | #[inline] |
| 1700 | 1700 | pub const fn algebraic_add(self, rhs: f32) -> f32 { |
| 1701 | 1701 | intrinsics::fadd_algebraic(self, rhs) |
| ... | ... | @@ -1705,8 +1705,8 @@ impl f32 { |
| 1705 | 1705 | /// |
| 1706 | 1706 | /// See [algebraic operators](primitive@f32#algebraic-operators) for more info. |
| 1707 | 1707 | #[must_use = "method returns a new number and does not mutate the original value"] |
| 1708 | #[stable(feature = "float_algebraic", since = "CURRENT_RUSTC_VERSION")] | |
| 1709 | #[rustc_const_stable(feature = "float_algebraic", since = "CURRENT_RUSTC_VERSION")] | |
| 1708 | #[stable(feature = "float_algebraic", since = "1.98.0")] | |
| 1709 | #[rustc_const_stable(feature = "float_algebraic", since = "1.98.0")] | |
| 1710 | 1710 | #[inline] |
| 1711 | 1711 | pub const fn algebraic_sub(self, rhs: f32) -> f32 { |
| 1712 | 1712 | intrinsics::fsub_algebraic(self, rhs) |
| ... | ... | @@ -1716,8 +1716,8 @@ impl f32 { |
| 1716 | 1716 | /// |
| 1717 | 1717 | /// See [algebraic operators](primitive@f32#algebraic-operators) for more info. |
| 1718 | 1718 | #[must_use = "method returns a new number and does not mutate the original value"] |
| 1719 | #[stable(feature = "float_algebraic", since = "CURRENT_RUSTC_VERSION")] | |
| 1720 | #[rustc_const_stable(feature = "float_algebraic", since = "CURRENT_RUSTC_VERSION")] | |
| 1719 | #[stable(feature = "float_algebraic", since = "1.98.0")] | |
| 1720 | #[rustc_const_stable(feature = "float_algebraic", since = "1.98.0")] | |
| 1721 | 1721 | #[inline] |
| 1722 | 1722 | pub const fn algebraic_mul(self, rhs: f32) -> f32 { |
| 1723 | 1723 | intrinsics::fmul_algebraic(self, rhs) |
| ... | ... | @@ -1727,8 +1727,8 @@ impl f32 { |
| 1727 | 1727 | /// |
| 1728 | 1728 | /// See [algebraic operators](primitive@f32#algebraic-operators) for more info. |
| 1729 | 1729 | #[must_use = "method returns a new number and does not mutate the original value"] |
| 1730 | #[stable(feature = "float_algebraic", since = "CURRENT_RUSTC_VERSION")] | |
| 1731 | #[rustc_const_stable(feature = "float_algebraic", since = "CURRENT_RUSTC_VERSION")] | |
| 1730 | #[stable(feature = "float_algebraic", since = "1.98.0")] | |
| 1731 | #[rustc_const_stable(feature = "float_algebraic", since = "1.98.0")] | |
| 1732 | 1732 | #[inline] |
| 1733 | 1733 | pub const fn algebraic_div(self, rhs: f32) -> f32 { |
| 1734 | 1734 | intrinsics::fdiv_algebraic(self, rhs) |
| ... | ... | @@ -1738,8 +1738,8 @@ impl f32 { |
| 1738 | 1738 | /// |
| 1739 | 1739 | /// See [algebraic operators](primitive@f32#algebraic-operators) for more info. |
| 1740 | 1740 | #[must_use = "method returns a new number and does not mutate the original value"] |
| 1741 | #[stable(feature = "float_algebraic", since = "CURRENT_RUSTC_VERSION")] | |
| 1742 | #[rustc_const_stable(feature = "float_algebraic", since = "CURRENT_RUSTC_VERSION")] | |
| 1741 | #[stable(feature = "float_algebraic", since = "1.98.0")] | |
| 1742 | #[rustc_const_stable(feature = "float_algebraic", since = "1.98.0")] | |
| 1743 | 1743 | #[inline] |
| 1744 | 1744 | pub const fn algebraic_rem(self, rhs: f32) -> f32 { |
| 1745 | 1745 | intrinsics::frem_algebraic(self, rhs) |
library/core/src/num/f64.rs+10-10| ... | ... | @@ -1674,8 +1674,8 @@ impl f64 { |
| 1674 | 1674 | /// |
| 1675 | 1675 | /// See [algebraic operators](primitive@f32#algebraic-operators) for more info. |
| 1676 | 1676 | #[must_use = "method returns a new number and does not mutate the original value"] |
| 1677 | #[stable(feature = "float_algebraic", since = "CURRENT_RUSTC_VERSION")] | |
| 1678 | #[rustc_const_stable(feature = "float_algebraic", since = "CURRENT_RUSTC_VERSION")] | |
| 1677 | #[stable(feature = "float_algebraic", since = "1.98.0")] | |
| 1678 | #[rustc_const_stable(feature = "float_algebraic", since = "1.98.0")] | |
| 1679 | 1679 | #[inline] |
| 1680 | 1680 | pub const fn algebraic_add(self, rhs: f64) -> f64 { |
| 1681 | 1681 | intrinsics::fadd_algebraic(self, rhs) |
| ... | ... | @@ -1685,8 +1685,8 @@ impl f64 { |
| 1685 | 1685 | /// |
| 1686 | 1686 | /// See [algebraic operators](primitive@f32#algebraic-operators) for more info. |
| 1687 | 1687 | #[must_use = "method returns a new number and does not mutate the original value"] |
| 1688 | #[stable(feature = "float_algebraic", since = "CURRENT_RUSTC_VERSION")] | |
| 1689 | #[rustc_const_stable(feature = "float_algebraic", since = "CURRENT_RUSTC_VERSION")] | |
| 1688 | #[stable(feature = "float_algebraic", since = "1.98.0")] | |
| 1689 | #[rustc_const_stable(feature = "float_algebraic", since = "1.98.0")] | |
| 1690 | 1690 | #[inline] |
| 1691 | 1691 | pub const fn algebraic_sub(self, rhs: f64) -> f64 { |
| 1692 | 1692 | intrinsics::fsub_algebraic(self, rhs) |
| ... | ... | @@ -1696,8 +1696,8 @@ impl f64 { |
| 1696 | 1696 | /// |
| 1697 | 1697 | /// See [algebraic operators](primitive@f32#algebraic-operators) for more info. |
| 1698 | 1698 | #[must_use = "method returns a new number and does not mutate the original value"] |
| 1699 | #[stable(feature = "float_algebraic", since = "CURRENT_RUSTC_VERSION")] | |
| 1700 | #[rustc_const_stable(feature = "float_algebraic", since = "CURRENT_RUSTC_VERSION")] | |
| 1699 | #[stable(feature = "float_algebraic", since = "1.98.0")] | |
| 1700 | #[rustc_const_stable(feature = "float_algebraic", since = "1.98.0")] | |
| 1701 | 1701 | #[inline] |
| 1702 | 1702 | pub const fn algebraic_mul(self, rhs: f64) -> f64 { |
| 1703 | 1703 | intrinsics::fmul_algebraic(self, rhs) |
| ... | ... | @@ -1707,8 +1707,8 @@ impl f64 { |
| 1707 | 1707 | /// |
| 1708 | 1708 | /// See [algebraic operators](primitive@f32#algebraic-operators) for more info. |
| 1709 | 1709 | #[must_use = "method returns a new number and does not mutate the original value"] |
| 1710 | #[stable(feature = "float_algebraic", since = "CURRENT_RUSTC_VERSION")] | |
| 1711 | #[rustc_const_stable(feature = "float_algebraic", since = "CURRENT_RUSTC_VERSION")] | |
| 1710 | #[stable(feature = "float_algebraic", since = "1.98.0")] | |
| 1711 | #[rustc_const_stable(feature = "float_algebraic", since = "1.98.0")] | |
| 1712 | 1712 | #[inline] |
| 1713 | 1713 | pub const fn algebraic_div(self, rhs: f64) -> f64 { |
| 1714 | 1714 | intrinsics::fdiv_algebraic(self, rhs) |
| ... | ... | @@ -1718,8 +1718,8 @@ impl f64 { |
| 1718 | 1718 | /// |
| 1719 | 1719 | /// See [algebraic operators](primitive@f32#algebraic-operators) for more info. |
| 1720 | 1720 | #[must_use = "method returns a new number and does not mutate the original value"] |
| 1721 | #[stable(feature = "float_algebraic", since = "CURRENT_RUSTC_VERSION")] | |
| 1722 | #[rustc_const_stable(feature = "float_algebraic", since = "CURRENT_RUSTC_VERSION")] | |
| 1721 | #[stable(feature = "float_algebraic", since = "1.98.0")] | |
| 1722 | #[rustc_const_stable(feature = "float_algebraic", since = "1.98.0")] | |
| 1723 | 1723 | #[inline] |
| 1724 | 1724 | pub const fn algebraic_rem(self, rhs: f64) -> f64 { |
| 1725 | 1725 | intrinsics::frem_algebraic(self, rhs) |
library/core/src/num/nonzero.rs+2-2| ... | ... | @@ -1390,8 +1390,8 @@ macro_rules! nonzero_integer { |
| 1390 | 1390 | /// # |
| 1391 | 1391 | #[doc = concat!("assert!(NonZero::<", stringify!($Int), ">::from_str_radix(\"1 \", 10).is_err());")] |
| 1392 | 1392 | /// ``` |
| 1393 | #[stable(feature = "nonzero_from_str_radix", since = "CURRENT_RUSTC_VERSION")] | |
| 1394 | #[rustc_const_stable(feature = "nonzero_from_str_radix", since = "CURRENT_RUSTC_VERSION")] | |
| 1393 | #[stable(feature = "nonzero_from_str_radix", since = "1.98.0")] | |
| 1394 | #[rustc_const_stable(feature = "nonzero_from_str_radix", since = "1.98.0")] | |
| 1395 | 1395 | #[inline] |
| 1396 | 1396 | pub const fn from_str_radix(src: &str, radix: u32) -> Result<Self, ParseIntError> { |
| 1397 | 1397 | Self::from_ascii_radix(src.as_bytes(), radix) |
library/core/src/option.rs+1-1| ... | ... | @@ -1293,7 +1293,7 @@ impl<T> Option<T> { |
| 1293 | 1293 | /// |
| 1294 | 1294 | /// [default value]: Default::default |
| 1295 | 1295 | #[inline] |
| 1296 | #[stable(feature = "result_option_map_or_default", since = "CURRENT_RUSTC_VERSION")] | |
| 1296 | #[stable(feature = "result_option_map_or_default", since = "1.98.0")] | |
| 1297 | 1297 | #[rustc_const_unstable(feature = "const_option_ops", issue = "143956")] |
| 1298 | 1298 | pub const fn map_or_default<U, F>(self, f: F) -> U |
| 1299 | 1299 | where |
library/core/src/range.rs+2-2| ... | ... | @@ -20,7 +20,7 @@ use crate::hash::Hash; |
| 20 | 20 | |
| 21 | 21 | mod iter; |
| 22 | 22 | |
| 23 | #[stable(feature = "new_range_api_legacy", since = "CURRENT_RUSTC_VERSION")] | |
| 23 | #[stable(feature = "new_range_api_legacy", since = "1.98.0")] | |
| 24 | 24 | pub mod legacy; |
| 25 | 25 | |
| 26 | 26 | use core::ops::Bound::{self, Excluded, Included, Unbounded}; |
| ... | ... | @@ -40,7 +40,7 @@ use crate::iter::Step; |
| 40 | 40 | // FIXME(range_into_bounds): Ditto. Also consider re-exporting `RangeBounds` and related. |
| 41 | 41 | use crate::ops::{IntoBounds, OneSidedRange, OneSidedRangeBound, RangeBounds}; |
| 42 | 42 | #[doc(inline)] |
| 43 | #[stable(feature = "new_range_api_exports", since = "CURRENT_RUSTC_VERSION")] | |
| 43 | #[stable(feature = "new_range_api_exports", since = "1.98.0")] | |
| 44 | 44 | pub use crate::ops::{RangeFull, RangeTo}; |
| 45 | 45 | |
| 46 | 46 | /// A (half-open) range bounded inclusively below and exclusively above. |
library/core/src/range/legacy.rs+1-1| ... | ... | @@ -7,5 +7,5 @@ |
| 7 | 7 | //! The types here are equivalent to those in [`core::ops`]. |
| 8 | 8 | |
| 9 | 9 | #[doc(inline)] |
| 10 | #[stable(feature = "new_range_api_legacy", since = "CURRENT_RUSTC_VERSION")] | |
| 10 | #[stable(feature = "new_range_api_legacy", since = "1.98.0")] | |
| 11 | 11 | pub use crate::ops::{Range, RangeFrom, RangeInclusive, RangeToInclusive}; |
library/core/src/result.rs+1-1| ... | ... | @@ -921,7 +921,7 @@ impl<T, E> Result<T, E> { |
| 921 | 921 | /// |
| 922 | 922 | /// [default value]: Default::default |
| 923 | 923 | #[inline] |
| 924 | #[stable(feature = "result_option_map_or_default", since = "CURRENT_RUSTC_VERSION")] | |
| 924 | #[stable(feature = "result_option_map_or_default", since = "1.98.0")] | |
| 925 | 925 | #[rustc_const_unstable(feature = "const_result_trait_fn", issue = "144211")] |
| 926 | 926 | pub const fn map_or_default<U, F>(self, f: F) -> U |
| 927 | 927 | where |
library/core/src/slice/mod.rs+2-2| ... | ... | @@ -2759,7 +2759,7 @@ impl<T> [T] { |
| 2759 | 2759 | /// assert_eq!(v.strip_circumfix(&[10, 50, 40], &[50, 40, 30]), None); |
| 2760 | 2760 | /// ``` |
| 2761 | 2761 | #[must_use = "returns the subslice without modifying the original"] |
| 2762 | #[stable(feature = "strip_circumfix", since = "CURRENT_RUSTC_VERSION")] | |
| 2762 | #[stable(feature = "strip_circumfix", since = "1.98.0")] | |
| 2763 | 2763 | pub fn strip_circumfix<S, P>(&self, prefix: &P, suffix: &S) -> Option<&[T]> |
| 2764 | 2764 | where |
| 2765 | 2765 | T: PartialEq, |
| ... | ... | @@ -5317,7 +5317,7 @@ impl<T> [T] { |
| 5317 | 5317 | /// assert_eq!(iter.next(), Some(Range { start: 5, end: 6 })); |
| 5318 | 5318 | /// ``` |
| 5319 | 5319 | #[must_use] |
| 5320 | #[stable(feature = "substr_range", since = "CURRENT_RUSTC_VERSION")] | |
| 5320 | #[stable(feature = "substr_range", since = "1.98.0")] | |
| 5321 | 5321 | pub fn subslice_range(&self, subslice: &[T]) -> Option<core::range::Range<usize>> { |
| 5322 | 5322 | if T::IS_ZST { |
| 5323 | 5323 | panic!("elements are zero-sized"); |
library/core/src/str/mod.rs+2-2| ... | ... | @@ -2519,7 +2519,7 @@ impl str { |
| 2519 | 2519 | /// ``` |
| 2520 | 2520 | #[must_use = "this returns the remaining substring as a new slice, \ |
| 2521 | 2521 | without modifying the original"] |
| 2522 | #[stable(feature = "strip_circumfix", since = "CURRENT_RUSTC_VERSION")] | |
| 2522 | #[stable(feature = "strip_circumfix", since = "1.98.0")] | |
| 2523 | 2523 | pub fn strip_circumfix<P: Pattern, S: Pattern>(&self, prefix: P, suffix: S) -> Option<&str> |
| 2524 | 2524 | where |
| 2525 | 2525 | for<'a> S::Searcher<'a>: ReverseSearcher<'a>, |
| ... | ... | @@ -3207,7 +3207,7 @@ impl str { |
| 3207 | 3207 | /// assert_eq!(iter.next(), Some(Range { start: 9, end: 10 })); |
| 3208 | 3208 | /// ``` |
| 3209 | 3209 | #[must_use] |
| 3210 | #[stable(feature = "substr_range", since = "CURRENT_RUSTC_VERSION")] | |
| 3210 | #[stable(feature = "substr_range", since = "1.98.0")] | |
| 3211 | 3211 | pub fn substr_range(&self, substr: &str) -> Option<Range<usize>> { |
| 3212 | 3212 | self.as_bytes().subslice_range(substr.as_bytes()) |
| 3213 | 3213 | } |
library/core/src/sync/atomic.rs+9-9| ... | ... | @@ -617,7 +617,7 @@ impl AtomicBool { |
| 617 | 617 | /// ``` |
| 618 | 618 | #[inline] |
| 619 | 619 | #[cfg(target_has_atomic_primitive_alignment = "8")] |
| 620 | #[stable(feature = "atomic_from_mut", since = "CURRENT_RUSTC_VERSION")] | |
| 620 | #[stable(feature = "atomic_from_mut", since = "1.98.0")] | |
| 621 | 621 | pub fn from_mut(v: &mut bool) -> &mut Self { |
| 622 | 622 | // SAFETY: the mutable reference guarantees unique ownership, and |
| 623 | 623 | // alignment of both `bool` and `Self` is 1. |
| ... | ... | @@ -651,7 +651,7 @@ impl AtomicBool { |
| 651 | 651 | /// }); |
| 652 | 652 | /// ``` |
| 653 | 653 | #[inline] |
| 654 | #[stable(feature = "atomic_from_mut", since = "CURRENT_RUSTC_VERSION")] | |
| 654 | #[stable(feature = "atomic_from_mut", since = "1.98.0")] | |
| 655 | 655 | pub fn get_mut_slice(this: &mut [Self]) -> &mut [bool] { |
| 656 | 656 | // SAFETY: the mutable reference guarantees unique ownership. |
| 657 | 657 | unsafe { &mut *(this as *mut [Self] as *mut [bool]) } |
| ... | ... | @@ -675,7 +675,7 @@ impl AtomicBool { |
| 675 | 675 | /// ``` |
| 676 | 676 | #[inline] |
| 677 | 677 | #[cfg(target_has_atomic_primitive_alignment = "8")] |
| 678 | #[stable(feature = "atomic_from_mut", since = "CURRENT_RUSTC_VERSION")] | |
| 678 | #[stable(feature = "atomic_from_mut", since = "1.98.0")] | |
| 679 | 679 | pub fn from_mut_slice(v: &mut [bool]) -> &mut [Self] { |
| 680 | 680 | // SAFETY: the mutable reference guarantees unique ownership, and |
| 681 | 681 | // alignment of both `bool` and `Self` is 1. |
| ... | ... | @@ -1585,7 +1585,7 @@ impl<T> AtomicPtr<T> { |
| 1585 | 1585 | /// ``` |
| 1586 | 1586 | #[inline] |
| 1587 | 1587 | #[cfg(target_has_atomic_primitive_alignment = "ptr")] |
| 1588 | #[stable(feature = "atomic_from_mut", since = "CURRENT_RUSTC_VERSION")] | |
| 1588 | #[stable(feature = "atomic_from_mut", since = "1.98.0")] | |
| 1589 | 1589 | pub fn from_mut(v: &mut *mut T) -> &mut Self { |
| 1590 | 1590 | let [] = [(); align_of::<AtomicPtr<()>>() - align_of::<*mut ()>()]; |
| 1591 | 1591 | // SAFETY: |
| ... | ... | @@ -1628,7 +1628,7 @@ impl<T> AtomicPtr<T> { |
| 1628 | 1628 | /// }); |
| 1629 | 1629 | /// ``` |
| 1630 | 1630 | #[inline] |
| 1631 | #[stable(feature = "atomic_from_mut", since = "CURRENT_RUSTC_VERSION")] | |
| 1631 | #[stable(feature = "atomic_from_mut", since = "1.98.0")] | |
| 1632 | 1632 | pub fn get_mut_slice(this: &mut [Self]) -> &mut [*mut T] { |
| 1633 | 1633 | // SAFETY: the mutable reference guarantees unique ownership. |
| 1634 | 1634 | unsafe { &mut *(this as *mut [Self] as *mut [*mut T]) } |
| ... | ... | @@ -1662,7 +1662,7 @@ impl<T> AtomicPtr<T> { |
| 1662 | 1662 | /// ``` |
| 1663 | 1663 | #[inline] |
| 1664 | 1664 | #[cfg(target_has_atomic_primitive_alignment = "ptr")] |
| 1665 | #[stable(feature = "atomic_from_mut", since = "CURRENT_RUSTC_VERSION")] | |
| 1665 | #[stable(feature = "atomic_from_mut", since = "1.98.0")] | |
| 1666 | 1666 | pub fn from_mut_slice(v: &mut [*mut T]) -> &mut [Self] { |
| 1667 | 1667 | // SAFETY: |
| 1668 | 1668 | // - the mutable reference guarantees unique ownership. |
| ... | ... | @@ -2725,7 +2725,7 @@ macro_rules! atomic_int { |
| 2725 | 2725 | /// |
| 2726 | 2726 | #[inline] |
| 2727 | 2727 | #[$cfg_align] |
| 2728 | #[stable(feature = "atomic_from_mut", since = "CURRENT_RUSTC_VERSION")] | |
| 2728 | #[stable(feature = "atomic_from_mut", since = "1.98.0")] | |
| 2729 | 2729 | pub fn from_mut(v: &mut $int_type) -> &mut Self { |
| 2730 | 2730 | let [] = [(); align_of::<Self>() - align_of::<$int_type>()]; |
| 2731 | 2731 | // SAFETY: |
| ... | ... | @@ -2764,7 +2764,7 @@ macro_rules! atomic_int { |
| 2764 | 2764 | /// }); |
| 2765 | 2765 | /// ``` |
| 2766 | 2766 | #[inline] |
| 2767 | #[stable(feature = "atomic_from_mut", since = "CURRENT_RUSTC_VERSION")] | |
| 2767 | #[stable(feature = "atomic_from_mut", since = "1.98.0")] | |
| 2768 | 2768 | pub fn get_mut_slice(this: &mut [Self]) -> &mut [$int_type] { |
| 2769 | 2769 | // SAFETY: the mutable reference guarantees unique ownership. |
| 2770 | 2770 | unsafe { &mut *(this as *mut [Self] as *mut [$int_type]) } |
| ... | ... | @@ -2798,7 +2798,7 @@ macro_rules! atomic_int { |
| 2798 | 2798 | /// ``` |
| 2799 | 2799 | #[inline] |
| 2800 | 2800 | #[$cfg_align] |
| 2801 | #[stable(feature = "atomic_from_mut", since = "CURRENT_RUSTC_VERSION")] | |
| 2801 | #[stable(feature = "atomic_from_mut", since = "1.98.0")] | |
| 2802 | 2802 | pub fn from_mut_slice(v: &mut [$int_type]) -> &mut [Self] { |
| 2803 | 2803 | let [] = [(); align_of::<Self>() - align_of::<$int_type>()]; |
| 2804 | 2804 | // SAFETY: |
library/std/src/env.rs+2-2| ... | ... | @@ -101,10 +101,10 @@ pub struct VarsOs { |
| 101 | 101 | inner: env_imp::Env, |
| 102 | 102 | } |
| 103 | 103 | |
| 104 | #[stable(feature = "env_vars_unimpl_send_sync", since = "CURRENT_RUSTC_VERSION")] | |
| 104 | #[stable(feature = "env_vars_unimpl_send_sync", since = "1.98.0")] | |
| 105 | 105 | impl !Send for VarsOs {} |
| 106 | 106 | |
| 107 | #[stable(feature = "env_vars_unimpl_send_sync", since = "CURRENT_RUSTC_VERSION")] | |
| 107 | #[stable(feature = "env_vars_unimpl_send_sync", since = "1.98.0")] | |
| 108 | 108 | impl !Sync for VarsOs {} |
| 109 | 109 | |
| 110 | 110 | /// Returns an iterator of (variable, value) pairs of strings, for all the |
library/std/src/path.rs+2-2| ... | ... | @@ -1809,7 +1809,7 @@ impl PathBuf { |
| 1809 | 1809 | /// let string = path_buf.into_string(); |
| 1810 | 1810 | /// assert_eq!(string, Ok(String::from("foo"))); |
| 1811 | 1811 | /// ``` |
| 1812 | #[stable(feature = "pathbuf_into_string", since = "CURRENT_RUSTC_VERSION")] | |
| 1812 | #[stable(feature = "pathbuf_into_string", since = "1.98.0")] | |
| 1813 | 1813 | pub fn into_string(self) -> Result<String, PathBuf> { |
| 1814 | 1814 | self.into_os_string().into_string().map_err(PathBuf::from) |
| 1815 | 1815 | } |
| ... | ... | @@ -2864,7 +2864,7 @@ impl Path { |
| 2864 | 2864 | /// let path = Path::new("."); |
| 2865 | 2865 | /// assert!(!path.is_empty()); |
| 2866 | 2866 | /// ``` |
| 2867 | #[stable(feature = "path_is_empty", since = "CURRENT_RUSTC_VERSION")] | |
| 2867 | #[stable(feature = "path_is_empty", since = "1.98.0")] | |
| 2868 | 2868 | pub fn is_empty(&self) -> bool { |
| 2869 | 2869 | self.as_os_str().is_empty() |
| 2870 | 2870 | } |
library/stdarch/crates/core_arch/src/arm_shared/neon/generated.rs+16-16| ... | ... | @@ -9597,7 +9597,7 @@ pub fn vcvtq_u32_f32(a: float32x4_t) -> uint32x4_t { |
| 9597 | 9597 | #[rustc_legacy_const_generics(3)] |
| 9598 | 9598 | #[cfg_attr( |
| 9599 | 9599 | not(target_arch = "arm"), |
| 9600 | stable(feature = "stdarch_neon_dotprod", since = "CURRENT_RUSTC_VERSION") | |
| 9600 | stable(feature = "stdarch_neon_dotprod", since = "1.98.0") | |
| 9601 | 9601 | )] |
| 9602 | 9602 | #[cfg_attr( |
| 9603 | 9603 | target_arch = "arm", |
| ... | ... | @@ -9622,7 +9622,7 @@ pub fn vdot_lane_s32<const LANE: i32>(a: int32x2_t, b: int8x8_t, c: int8x8_t) -> |
| 9622 | 9622 | #[rustc_legacy_const_generics(3)] |
| 9623 | 9623 | #[cfg_attr( |
| 9624 | 9624 | not(target_arch = "arm"), |
| 9625 | stable(feature = "stdarch_neon_dotprod", since = "CURRENT_RUSTC_VERSION") | |
| 9625 | stable(feature = "stdarch_neon_dotprod", since = "1.98.0") | |
| 9626 | 9626 | )] |
| 9627 | 9627 | #[cfg_attr( |
| 9628 | 9628 | target_arch = "arm", |
| ... | ... | @@ -9647,7 +9647,7 @@ pub fn vdotq_lane_s32<const LANE: i32>(a: int32x4_t, b: int8x16_t, c: int8x8_t) |
| 9647 | 9647 | #[rustc_legacy_const_generics(3)] |
| 9648 | 9648 | #[cfg_attr( |
| 9649 | 9649 | not(target_arch = "arm"), |
| 9650 | stable(feature = "stdarch_neon_dotprod", since = "CURRENT_RUSTC_VERSION") | |
| 9650 | stable(feature = "stdarch_neon_dotprod", since = "1.98.0") | |
| 9651 | 9651 | )] |
| 9652 | 9652 | #[cfg_attr( |
| 9653 | 9653 | target_arch = "arm", |
| ... | ... | @@ -9672,7 +9672,7 @@ pub fn vdot_lane_u32<const LANE: i32>(a: uint32x2_t, b: uint8x8_t, c: uint8x8_t) |
| 9672 | 9672 | #[rustc_legacy_const_generics(3)] |
| 9673 | 9673 | #[cfg_attr( |
| 9674 | 9674 | not(target_arch = "arm"), |
| 9675 | stable(feature = "stdarch_neon_dotprod", since = "CURRENT_RUSTC_VERSION") | |
| 9675 | stable(feature = "stdarch_neon_dotprod", since = "1.98.0") | |
| 9676 | 9676 | )] |
| 9677 | 9677 | #[cfg_attr( |
| 9678 | 9678 | target_arch = "arm", |
| ... | ... | @@ -9697,7 +9697,7 @@ pub fn vdotq_lane_u32<const LANE: i32>(a: uint32x4_t, b: uint8x16_t, c: uint8x8_ |
| 9697 | 9697 | #[rustc_legacy_const_generics(3)] |
| 9698 | 9698 | #[cfg_attr( |
| 9699 | 9699 | not(target_arch = "arm"), |
| 9700 | stable(feature = "stdarch_neon_dotprod", since = "CURRENT_RUSTC_VERSION") | |
| 9700 | stable(feature = "stdarch_neon_dotprod", since = "1.98.0") | |
| 9701 | 9701 | )] |
| 9702 | 9702 | #[cfg_attr( |
| 9703 | 9703 | target_arch = "arm", |
| ... | ... | @@ -9722,7 +9722,7 @@ pub fn vdot_laneq_s32<const LANE: i32>(a: int32x2_t, b: int8x8_t, c: int8x16_t) |
| 9722 | 9722 | #[rustc_legacy_const_generics(3)] |
| 9723 | 9723 | #[cfg_attr( |
| 9724 | 9724 | not(target_arch = "arm"), |
| 9725 | stable(feature = "stdarch_neon_dotprod", since = "CURRENT_RUSTC_VERSION") | |
| 9725 | stable(feature = "stdarch_neon_dotprod", since = "1.98.0") | |
| 9726 | 9726 | )] |
| 9727 | 9727 | #[cfg_attr( |
| 9728 | 9728 | target_arch = "arm", |
| ... | ... | @@ -9747,7 +9747,7 @@ pub fn vdotq_laneq_s32<const LANE: i32>(a: int32x4_t, b: int8x16_t, c: int8x16_t |
| 9747 | 9747 | #[rustc_legacy_const_generics(3)] |
| 9748 | 9748 | #[cfg_attr( |
| 9749 | 9749 | not(target_arch = "arm"), |
| 9750 | stable(feature = "stdarch_neon_dotprod", since = "CURRENT_RUSTC_VERSION") | |
| 9750 | stable(feature = "stdarch_neon_dotprod", since = "1.98.0") | |
| 9751 | 9751 | )] |
| 9752 | 9752 | #[cfg_attr( |
| 9753 | 9753 | target_arch = "arm", |
| ... | ... | @@ -9772,7 +9772,7 @@ pub fn vdot_laneq_u32<const LANE: i32>(a: uint32x2_t, b: uint8x8_t, c: uint8x16_ |
| 9772 | 9772 | #[rustc_legacy_const_generics(3)] |
| 9773 | 9773 | #[cfg_attr( |
| 9774 | 9774 | not(target_arch = "arm"), |
| 9775 | stable(feature = "stdarch_neon_dotprod", since = "CURRENT_RUSTC_VERSION") | |
| 9775 | stable(feature = "stdarch_neon_dotprod", since = "1.98.0") | |
| 9776 | 9776 | )] |
| 9777 | 9777 | #[cfg_attr( |
| 9778 | 9778 | target_arch = "arm", |
| ... | ... | @@ -9797,7 +9797,7 @@ pub fn vdotq_laneq_u32<const LANE: i32>(a: uint32x4_t, b: uint8x16_t, c: uint8x1 |
| 9797 | 9797 | )] |
| 9798 | 9798 | #[cfg_attr( |
| 9799 | 9799 | not(target_arch = "arm"), |
| 9800 | stable(feature = "stdarch_neon_dotprod", since = "CURRENT_RUSTC_VERSION") | |
| 9800 | stable(feature = "stdarch_neon_dotprod", since = "1.98.0") | |
| 9801 | 9801 | )] |
| 9802 | 9802 | #[cfg_attr( |
| 9803 | 9803 | target_arch = "arm", |
| ... | ... | @@ -9827,7 +9827,7 @@ pub fn vdot_s32(a: int32x2_t, b: int8x8_t, c: int8x8_t) -> int32x2_t { |
| 9827 | 9827 | )] |
| 9828 | 9828 | #[cfg_attr( |
| 9829 | 9829 | not(target_arch = "arm"), |
| 9830 | stable(feature = "stdarch_neon_dotprod", since = "CURRENT_RUSTC_VERSION") | |
| 9830 | stable(feature = "stdarch_neon_dotprod", since = "1.98.0") | |
| 9831 | 9831 | )] |
| 9832 | 9832 | #[cfg_attr( |
| 9833 | 9833 | target_arch = "arm", |
| ... | ... | @@ -9863,7 +9863,7 @@ pub fn vdot_s32(a: int32x2_t, b: int8x8_t, c: int8x8_t) -> int32x2_t { |
| 9863 | 9863 | )] |
| 9864 | 9864 | #[cfg_attr( |
| 9865 | 9865 | not(target_arch = "arm"), |
| 9866 | stable(feature = "stdarch_neon_dotprod", since = "CURRENT_RUSTC_VERSION") | |
| 9866 | stable(feature = "stdarch_neon_dotprod", since = "1.98.0") | |
| 9867 | 9867 | )] |
| 9868 | 9868 | #[cfg_attr( |
| 9869 | 9869 | target_arch = "arm", |
| ... | ... | @@ -9893,7 +9893,7 @@ pub fn vdotq_s32(a: int32x4_t, b: int8x16_t, c: int8x16_t) -> int32x4_t { |
| 9893 | 9893 | )] |
| 9894 | 9894 | #[cfg_attr( |
| 9895 | 9895 | not(target_arch = "arm"), |
| 9896 | stable(feature = "stdarch_neon_dotprod", since = "CURRENT_RUSTC_VERSION") | |
| 9896 | stable(feature = "stdarch_neon_dotprod", since = "1.98.0") | |
| 9897 | 9897 | )] |
| 9898 | 9898 | #[cfg_attr( |
| 9899 | 9899 | target_arch = "arm", |
| ... | ... | @@ -9931,7 +9931,7 @@ pub fn vdotq_s32(a: int32x4_t, b: int8x16_t, c: int8x16_t) -> int32x4_t { |
| 9931 | 9931 | )] |
| 9932 | 9932 | #[cfg_attr( |
| 9933 | 9933 | not(target_arch = "arm"), |
| 9934 | stable(feature = "stdarch_neon_dotprod", since = "CURRENT_RUSTC_VERSION") | |
| 9934 | stable(feature = "stdarch_neon_dotprod", since = "1.98.0") | |
| 9935 | 9935 | )] |
| 9936 | 9936 | #[cfg_attr( |
| 9937 | 9937 | target_arch = "arm", |
| ... | ... | @@ -9961,7 +9961,7 @@ pub fn vdot_u32(a: uint32x2_t, b: uint8x8_t, c: uint8x8_t) -> uint32x2_t { |
| 9961 | 9961 | )] |
| 9962 | 9962 | #[cfg_attr( |
| 9963 | 9963 | not(target_arch = "arm"), |
| 9964 | stable(feature = "stdarch_neon_dotprod", since = "CURRENT_RUSTC_VERSION") | |
| 9964 | stable(feature = "stdarch_neon_dotprod", since = "1.98.0") | |
| 9965 | 9965 | )] |
| 9966 | 9966 | #[cfg_attr( |
| 9967 | 9967 | target_arch = "arm", |
| ... | ... | @@ -9997,7 +9997,7 @@ pub fn vdot_u32(a: uint32x2_t, b: uint8x8_t, c: uint8x8_t) -> uint32x2_t { |
| 9997 | 9997 | )] |
| 9998 | 9998 | #[cfg_attr( |
| 9999 | 9999 | not(target_arch = "arm"), |
| 10000 | stable(feature = "stdarch_neon_dotprod", since = "CURRENT_RUSTC_VERSION") | |
| 10000 | stable(feature = "stdarch_neon_dotprod", since = "1.98.0") | |
| 10001 | 10001 | )] |
| 10002 | 10002 | #[cfg_attr( |
| 10003 | 10003 | target_arch = "arm", |
| ... | ... | @@ -10027,7 +10027,7 @@ pub fn vdotq_u32(a: uint32x4_t, b: uint8x16_t, c: uint8x16_t) -> uint32x4_t { |
| 10027 | 10027 | )] |
| 10028 | 10028 | #[cfg_attr( |
| 10029 | 10029 | not(target_arch = "arm"), |
| 10030 | stable(feature = "stdarch_neon_dotprod", since = "CURRENT_RUSTC_VERSION") | |
| 10030 | stable(feature = "stdarch_neon_dotprod", since = "1.98.0") | |
| 10031 | 10031 | )] |
| 10032 | 10032 | #[cfg_attr( |
| 10033 | 10033 | target_arch = "arm", |
library/stdarch/crates/core_arch/src/loongarch64/mod.rs+8-8| ... | ... | @@ -62,56 +62,56 @@ unsafe extern "unadjusted" { |
| 62 | 62 | |
| 63 | 63 | /// Calculate the CRC value using the IEEE 802.3 polynomial (0xEDB88320) |
| 64 | 64 | #[inline(always)] |
| 65 | #[stable(feature = "stdarch_loongarch_crc", since = "CURRENT_RUSTC_VERSION")] | |
| 65 | #[stable(feature = "stdarch_loongarch_crc", since = "1.98.0")] | |
| 66 | 66 | pub fn crc_w_b_w(a: i8, b: i32) -> i32 { |
| 67 | 67 | unsafe { __crc_w_b_w(a as i32, b) } |
| 68 | 68 | } |
| 69 | 69 | |
| 70 | 70 | /// Calculate the CRC value using the IEEE 802.3 polynomial (0xEDB88320) |
| 71 | 71 | #[inline(always)] |
| 72 | #[stable(feature = "stdarch_loongarch_crc", since = "CURRENT_RUSTC_VERSION")] | |
| 72 | #[stable(feature = "stdarch_loongarch_crc", since = "1.98.0")] | |
| 73 | 73 | pub fn crc_w_h_w(a: i16, b: i32) -> i32 { |
| 74 | 74 | unsafe { __crc_w_h_w(a as i32, b) } |
| 75 | 75 | } |
| 76 | 76 | |
| 77 | 77 | /// Calculate the CRC value using the IEEE 802.3 polynomial (0xEDB88320) |
| 78 | 78 | #[inline(always)] |
| 79 | #[stable(feature = "stdarch_loongarch_crc", since = "CURRENT_RUSTC_VERSION")] | |
| 79 | #[stable(feature = "stdarch_loongarch_crc", since = "1.98.0")] | |
| 80 | 80 | pub fn crc_w_w_w(a: i32, b: i32) -> i32 { |
| 81 | 81 | unsafe { __crc_w_w_w(a, b) } |
| 82 | 82 | } |
| 83 | 83 | |
| 84 | 84 | /// Calculate the CRC value using the IEEE 802.3 polynomial (0xEDB88320) |
| 85 | 85 | #[inline(always)] |
| 86 | #[stable(feature = "stdarch_loongarch_crc", since = "CURRENT_RUSTC_VERSION")] | |
| 86 | #[stable(feature = "stdarch_loongarch_crc", since = "1.98.0")] | |
| 87 | 87 | pub fn crc_w_d_w(a: i64, b: i32) -> i32 { |
| 88 | 88 | unsafe { __crc_w_d_w(a, b) } |
| 89 | 89 | } |
| 90 | 90 | |
| 91 | 91 | /// Calculate the CRC value using the Castagnoli polynomial (0x82F63B78) |
| 92 | 92 | #[inline(always)] |
| 93 | #[stable(feature = "stdarch_loongarch_crc", since = "CURRENT_RUSTC_VERSION")] | |
| 93 | #[stable(feature = "stdarch_loongarch_crc", since = "1.98.0")] | |
| 94 | 94 | pub fn crcc_w_b_w(a: i8, b: i32) -> i32 { |
| 95 | 95 | unsafe { __crcc_w_b_w(a as i32, b) } |
| 96 | 96 | } |
| 97 | 97 | |
| 98 | 98 | /// Calculate the CRC value using the Castagnoli polynomial (0x82F63B78) |
| 99 | 99 | #[inline(always)] |
| 100 | #[stable(feature = "stdarch_loongarch_crc", since = "CURRENT_RUSTC_VERSION")] | |
| 100 | #[stable(feature = "stdarch_loongarch_crc", since = "1.98.0")] | |
| 101 | 101 | pub fn crcc_w_h_w(a: i16, b: i32) -> i32 { |
| 102 | 102 | unsafe { __crcc_w_h_w(a as i32, b) } |
| 103 | 103 | } |
| 104 | 104 | |
| 105 | 105 | /// Calculate the CRC value using the Castagnoli polynomial (0x82F63B78) |
| 106 | 106 | #[inline(always)] |
| 107 | #[stable(feature = "stdarch_loongarch_crc", since = "CURRENT_RUSTC_VERSION")] | |
| 107 | #[stable(feature = "stdarch_loongarch_crc", since = "1.98.0")] | |
| 108 | 108 | pub fn crcc_w_w_w(a: i32, b: i32) -> i32 { |
| 109 | 109 | unsafe { __crcc_w_w_w(a, b) } |
| 110 | 110 | } |
| 111 | 111 | |
| 112 | 112 | /// Calculate the CRC value using the Castagnoli polynomial (0x82F63B78) |
| 113 | 113 | #[inline(always)] |
| 114 | #[stable(feature = "stdarch_loongarch_crc", since = "CURRENT_RUSTC_VERSION")] | |
| 114 | #[stable(feature = "stdarch_loongarch_crc", since = "1.98.0")] | |
| 115 | 115 | pub fn crcc_w_d_w(a: i64, b: i32) -> i32 { |
| 116 | 116 | unsafe { __crcc_w_d_w(a, b) } |
| 117 | 117 | } |
library/stdarch/crates/stdarch-gen-arm/spec/neon/arm_shared.spec.yml+4-4| ... | ... | @@ -14,9 +14,9 @@ neon-stable: &neon-stable |
| 14 | 14 | neon-stable-fp16: &neon-stable-fp16 |
| 15 | 15 | FnCall: [stable, ['feature = "stdarch_neon_fp16"', 'since = "1.94.0"']] |
| 16 | 16 | |
| 17 | # #[stable(feature = "stdarch_neon_dotprod", since = "CURRENT_RUSTC_VERSION")] | |
| 17 | # #[stable(feature = "stdarch_neon_dotprod", since = "1.98.0")] | |
| 18 | 18 | neon-stable-dotprod: &neon-stable-dotprod |
| 19 | FnCall: [stable, ['feature = "stdarch_neon_dotprod"', 'since = "CURRENT_RUSTC_VERSION"']] | |
| 19 | FnCall: [stable, ['feature = "stdarch_neon_dotprod"', 'since = "1.98.0"']] | |
| 20 | 20 | |
| 21 | 21 | # #[cfg_attr(target_arch = "arm", unstable(feature = "stdarch_arm_neon_intrinsics", issue = "111800"))] |
| 22 | 22 | neon-cfg-arm-unstable: &neon-cfg-arm-unstable |
| ... | ... | @@ -63,9 +63,9 @@ neon-not-arm-stable: &neon-not-arm-stable |
| 63 | 63 | neon-not-arm-stable-fp16: &neon-not-arm-stable-fp16 |
| 64 | 64 | FnCall: [cfg_attr, [{ FnCall: [not, ['target_arch = "arm"']]}, {FnCall: [stable, ['feature = "stdarch_neon_fp16"', 'since = "1.94.0"']]}]] |
| 65 | 65 | |
| 66 | # #[cfg_attr(not(target_arch = "arm"), stable(feature = "stdarch_neon_dotprod", since = "CURRENT_RUSTC_VERSION"))] | |
| 66 | # #[cfg_attr(not(target_arch = "arm"), stable(feature = "stdarch_neon_dotprod", since = "1.98.0"))] | |
| 67 | 67 | neon-not-arm-stable-dotprod: &neon-not-arm-stable-dotprod |
| 68 | FnCall: [cfg_attr, [{ FnCall: [not, ['target_arch = "arm"']]}, {FnCall: [stable, ['feature = "stdarch_neon_dotprod"', 'since = "CURRENT_RUSTC_VERSION"']]}]] | |
| 68 | FnCall: [cfg_attr, [{ FnCall: [not, ['target_arch = "arm"']]}, {FnCall: [stable, ['feature = "stdarch_neon_dotprod"', 'since = "1.98.0"']]}]] | |
| 69 | 69 | |
| 70 | 70 | # #[cfg_attr(all(test, not(target_env = "msvc"))] |
| 71 | 71 | msvc-disabled: &msvc-disabled |
src/ci/channel+1-1| ... | ... | @@ -1 +1 @@ |
| 1 | nightly | |
| 1 | beta |