Vai al contenuto
verdict:

Rust 1.100.0

featured

note: la sintesi e le note di rilascio sono in inglese

pending: sintesi in attesa

Rilevata il 2026-11-19 alle 13:08 UTC. La sintesi viene scritta al prossimo aggiornamento; le note di rilascio complete sono già qui sotto.

release-notesgithub.com/rust-lang/rust · 132 righe
  1. <a id="1.100.0-Language"></a>
  2. ## Language
  3. - [Stabilize never type](https://github.com/rust-lang/rust/pull/155499)
  4. - [Lint against repeated `#[repr(..)]` attributes](https://github.com/rust-lang/rust/pull/157036)
  5. - [Stabilize `extern "custom"`](https://github.com/rust-lang/rust/pull/158504)
  6. - [Extend `dropping_references`, `dropping_copy_types` and `undropped_manually_drops` lints to `drop_in_place`](https://github.com/rust-lang/rust/pull/160229)
  7. - [`unfulfilled_lint_expectations` no longer fires on `#[expect(dead_code)]` inside code that is covered by a dead parent's diagnostic](https://github.com/rust-lang/rust/pull/161005)
  8. - [Turn the error for `repr(align)` fields in a `repr(packed)` type into a deny-by-default lint `aligned_fields_in_packed`](https://github.com/rust-lang/rust/pull/162160)
  9. - [volatile: allow accesses to non-AM memory to trap](https://github.com/rust-lang/rust/pull/160564/)
  10. <a id="1.100.0-Compiler"></a>
  11. ## Compiler
  12. - [Stabilize `-Cprofile-sample-use`](https://github.com/rust-lang/rust/pull/155942)
  13. - [Enable next solver by default in orphanck](https://github.com/rust-lang/rust/pull/160668)
  14. <a id="1.100.0-Platform-Support"></a>
  15. ## Platform Support
  16. - [`i686-pc-windows-gnu` is now a tier 2 without host tools target](https://github.com/rust-lang/rust/pull/161681)
  17. - [Promote `wasm32-wasip3` to Tier 2](https://github.com/rust-lang/rust/pull/161940)
  18. - [Add new Tier 3 target `powerpc64-sony-ps3`](https://github.com/rust-lang/rust/pull/162072)
  19. Refer to Rust's [platform support page](https://doc.rust-lang.org/rustc/platform-support.html) for more information on Rust's tiered platform support.
  20. <a id="1.100.0-Libraries"></a>
  21. ## Libraries
  22. - [Stabilize custom allocators](https://github.com/rust-lang/rust/pull/156882)
  23. - [Map `ENOTSUP` to `ErrorKind::Unsupported`](https://github.com/rust-lang/rust/pull/158580)
  24. - [Fix soundness issues in `std::sys::pal::sgx::waitqueue::unsafe_list`](https://github.com/rust-lang/rust/pull/161334)
  25. <a id="1.100.0-Stabilized-APIs"></a>
  26. ## Stabilized APIs
  27. - [`impl PartialEq<Cow<'_, [U]>> for Vec<T, A>`](https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#impl-PartialEq%3CCow%3C'_,+%5BU%5D%3E%3E-for-Vec%3CT,+A%3E)
  28. - [`impl PartialEq<Cow<'_, [U]>> for &[T]`](https://doc.rust-lang.org/stable/std/primitive.slice.html#impl-PartialEq%3CCow%3C'_,+%5BU%5D%3E%3E-for-%26%5BT%5D)
  29. - [`impl PartialEq<Cow<'_, [U]>> for &mut [T]`](https://doc.rust-lang.org/stable/std/primitive.slice.html#impl-PartialEq%3CCow%3C'_,+%5BU%5D%3E%3E-for-%26mut+%5BT%5D)
  30. - [`std::alloc::Allocator`](https://doc.rust-lang.org/stable/std/alloc/trait.Allocator.html)
  31. - [`std::alloc::Global`](https://doc.rust-lang.org/stable/std/alloc/struct.Global.html)
  32. - [`std::alloc::System`](https://doc.rust-lang.org/stable/std/alloc/struct.System.html)
  33. - [`impl Allocator for Global`](https://doc.rust-lang.org/stable/std/alloc/trait.Allocator.html#impl-Allocator-for-Global)
  34. - [`impl Allocator for System`](https://doc.rust-lang.org/stable/std/alloc/trait.Allocator.html#impl-Allocator-for-System)
  35. - [`impl<A: Allocator> Allocator for &A`](https://doc.rust-lang.org/stable/std/alloc/trait.Allocator.html#impl-Allocator-for-%26A)
  36. - [`impl<T: Allocator, A: Allocator> Allocator for Box<T, A>`](https://doc.rust-lang.org/stable/std/alloc/trait.Allocator.html#impl-Allocator-for-Box%3CT,+A%3E)
  37. - [`impl<A: Allocator> Allocator for &mut A`](https://doc.rust-lang.org/stable/std/alloc/trait.Allocator.html#impl-Allocator-for-%26mut+A)
  38. - [`impl<T: Allocator, A: Allocator> Allocator for Arc<T, A>`](https://doc.rust-lang.org/stable/std/alloc/trait.Allocator.html#impl-Allocator-for-Arc%3CT,+A%3E)
  39. - [`impl<T: Allocator, A: Allocator> Allocator for Rc<T, A>`](https://doc.rust-lang.org/stable/std/alloc/trait.Allocator.html#impl-Allocator-for-Rc%3CT,+A%3E)
  40. - [`Box::new_in`](https://doc.rust-lang.org/stable/std/boxed/struct.Box.html#method.new_in)
  41. - [`Box::from_raw_in`](https://doc.rust-lang.org/stable/std/boxed/struct.Box.html#method.from_raw_in)
  42. - [`Box::from_non_null_in`](https://doc.rust-lang.org/stable/std/boxed/struct.Box.html#method.from_non_null_in)
  43. - [`Box::into_raw_with_allocator`](https://doc.rust-lang.org/stable/std/boxed/struct.Box.html#method.into_raw_with_allocator)
  44. - [`Box::into_non_null_with_allocator`](https://doc.rust-lang.org/stable/std/boxed/struct.Box.html#method.into_non_null_with_allocator)
  45. - [`Box::allocator`](https://doc.rust-lang.org/stable/std/boxed/struct.Box.html#method.allocator)
  46. - [`Vec::new_in`](https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#method.new_in)
  47. - [`Vec::with_capacity_in`](https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#method.with_capacity_in)
  48. - [`Vec::from_raw_parts_in`](https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#method.from_raw_parts_in)
  49. - [`Vec::from_parts_in`](https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#method.from_parts_in)
  50. - [`Vec::into_raw_parts_with_allocator`](https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#method.into_raw_parts_with_allocator)
  51. - [`Vec::into_parts_with_allocator`](https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#method.into_parts_with_allocator)
  52. - [`Vec::allocator`](https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#method.allocator)
  53. - [`Child::main_thread_handle`](https://doc.rust-lang.org/stable/std/os/windows/process/trait.ChildExt.html#tymethod.main_thread_handle)
  54. - [`impl Default for std::sync::Once`](https://doc.rust-lang.org/stable/std/sync/struct.Once.html#impl-Default-for-Once)
  55. - [`bool::toggle`](https://doc.rust-lang.org/stable/std/primitive.bool.html#method.toggle)
  56. - [`Box::take`](https://doc.rust-lang.org/stable/std/boxed/struct.Box.html#method.take)
  57. - [`Box::map`](https://doc.rust-lang.org/stable/std/boxed/struct.Box.html#method.map)
  58. - [`Rc::map`](https://doc.rust-lang.org/stable/std/rc/struct.Rc.html#method.map)
  59. - [`Arc::map`](https://doc.rust-lang.org/stable/std/sync/struct.Arc.html#method.map)
  60. - [`impl AsRef<T> for !`](https://doc.rust-lang.org/stable/std/primitive.never.html#impl-AsRef\<T\>-for-!)
  61. - [`impl AsMut<T> for !`](https://doc.rust-lang.org/stable/std/primitive.never.html#impl-AsMut\<T\>-for-!)
  62. - [`core::mem::DropGuard`](https://doc.rust-lang.org/stable/core/mem/struct.DropGuard.html)
  63. - [`core::mem::conjure_zst`](https://doc.rust-lang.org/stable/core/mem/fn.conjure_zst.html)
  64. - [`UnsafeCell::replace`](https://doc.rust-lang.org/stable/std/cell/struct.UnsafeCell.html#method.replace)
  65. - [`UnsafeCell::as_ref_unchecked`](https://doc.rust-lang.org/stable/std/cell/struct.UnsafeCell.html#method.as_ref_unchecked)
  66. - [`UnsafeCell::as_mut_unchecked`](https://doc.rust-lang.org/stable/std/cell/struct.UnsafeCell.html#method.as_mut_unchecked)
  67. - [`str::trim_prefix`](https://doc.rust-lang.org/stable/std/primitive.str.html#method.trim_prefix)
  68. - [`str::trim_suffix`](https://doc.rust-lang.org/stable/std/primitive.str.html#method.trim_suffix)
  69. - [`[T]::trim_prefix`](https://doc.rust-lang.org/stable/std/primitive.slice.html#method.trim_prefix)
  70. - [`[T]::trim_suffix`](https://doc.rust-lang.org/stable/std/primitive.slice.html#method.trim_suffix)
  71. - [`Path::trim_prefix`](https://doc.rust-lang.org/stable/std/path/struct.Path.html#method.trim_prefix)
  72. - [`Vec::from_fn`](https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#method.from_fn)
  73. - [`os::windows::process::CommandExt::show_window`](https://doc.rust-lang.org/stable/std/os/windows/process/trait.CommandExt.html#tymethod.show_window)
  74. <a id="1.100.0-Cargo"></a>
  75. ## Cargo
  76. - Introduced Cargo's own linting system: some Cargo warnings are now emitted as lints that users can control in the `[lints.cargo]` table. This includes a new built-in unused dependency check via the `cargo::unused_dependencies` lint. [docs](https://doc.rust-lang.org/stable/cargo/reference/lints.html) [\#17298](https://github.com/rust-lang/cargo/pull/17298)
  77. - Introduced minimum publish age configurations, also known as dependency cooldowns. When the relevant config is set, the resolver ignores versions published more recently than that, unless they are already in `Cargo.lock`. ([RFC 3923](https://rust-lang.github.io/rfcs/3923-cargo-min-publish-age.html)) [docs](https://doc.rust-lang.org/stable/cargo/reference/resolver.html#publish-age) [\#17335](https://github.com/rust-lang/cargo/pull/17335)
  78. - cargo-install: now uses the existing lockfile in the `.crate` tarball by default. `--locked` in cargo install becomes a no-op. [\#17388](https://github.com/rust-lang/cargo/pull/17388)
  79. - Cargo now uses a new directory layout for intermediate build artifacts. Tools that inspect the build directory may need to use [Cargo’s JSON messages](https://doc.rust-lang.org/stable/cargo/reference/external-tools.html#json-messages) to locate build artifacts instead of relying on the build directory layout. The layout is not a stable interface and is subject to change. ([build cache doc](https://doc.rust-lang.org/stable/cargo/reference/build-cache.html)) [\#17354](https://github.com/rust-lang/cargo/pull/17354)
  80. ## Rustdoc
  81. - [Add new `invalid_markdown_table` rustdoc lint](https://github.com/rust-lang/rust/pull/159583)
  82. <a id="1.100.0-Compatibility-Notes"></a>
  83. ## Compatibility Notes
  84. - [Closures now more precisely capture variables used in `if let`. This may cause new errors](https://github.com/rust-lang/rust/pull/154210)
  85. - [Check dyn-compatibility of trait objects in more places](https://github.com/rust-lang/rust/pull/154992)
  86. - [`Infallible` is now a type alias to `!`](https://github.com/rust-lang/rust/pull/155499)
  87. - [The never type fallback was changed to `!` on all editions](https://github.com/rust-lang/rust/pull/155499)
  88. - [`box` patterns are no longer syntactically allowed](https://github.com/rust-lang/rust/pull/156749)
  89. - [Report Query Cycle errors in more cases when computing the layout of enums with explicit discriminants](https://github.com/rust-lang/rust/pull/157562)
  90. - [Always escape grapheme extenders in `str::escape_debug`](https://github.com/rust-lang/rust/pull/158303)
  91. - [Make let-else respect `macro_rules` `expr` metavariable grouping](https://github.com/rust-lang/rust/pull/158515)
  92. - [`Iterator::{min,max}(_by_key)` changed which `Ord` methods they use.](https://github.com/rust-lang/rust/pull/160203) This cannot change behaviour (other than being potentially faster) for types correctly following the [`Ord` rules](https://doc.rust-lang.org/std/cmp/trait.Ord.html), but may impact types with inconsistent trait implementations.
  93. - [Emit an error when trying to enable SSE/AVX on an x86 (32bit or 64bit) softfloat target](https://github.com/rust-lang/rust/pull/160302)
  94. - [Require windowed (and exception) for Xtensa ABI](https://github.com/rust-lang/rust/pull/160643)
  95. - [windows-gnullvm: always link libunwind statically](https://github.com/rust-lang/rust/pull/160712)
  96. - [From version 1.94 up to 1.100 a number of ARMv7-A hardfloat targets required the `VFPv3-D32` FPU as a minimum, as they erroneously had the `d32` feature in their baseline list of features. Breakage introduced as a result of correcting this can be fixed by passing `-Ctarget-feature=+d32` to Rust.](https://github.com/rust-lang/rust/pull/160911)
  97. - [Change "Rust" ABI on x86 to use SSE registers if they are always-available for the current target](https://github.com/rust-lang/rust/pull/161583)
  98. - [Make the `ambiguous_glob_imported_traits` lint fire in slightly more cases](https://github.com/rust-lang/rust/pull/161805)
  99. - [Make `+fix-cortex-a53-835769` a default feature for `aarch64-unknown-fuchsia`](https://github.com/rust-lang/rust/pull/161886)
  100. - [Some impls on `Box` have been generalised to arbitrary allocators, which may cause new type inference errors](https://github.com/rust-lang/rust/pull/161946)
  101. - [The standard library now uses Unicode version 18.0.0](https://doc.rust-lang.org/stable/std/primitive.char.html#associatedconstant.UNICODE_VERSION)
  102. - [WASI SDK version was bumped from 33 to 34](https://github.com/rust-lang/rust/pull/163809)
  103. - [On ARM targets, `-Ctarget-feature`/`-Ctarget-cpu` values that would alter the ABI are rejected as hard errors now.](https://github.com/rust-lang/rust/pull/161280)
  104. <a id="1.100.0-Internal-Changes"></a>
  105. ## Other
  106. - [Test harness now allows passing `--test-threads` and `--color` multiple times, with later arguments overriding earlier ones](https://github.com/rust-lang/rust/pull/161312)

vedi su githubdetected 2026-11-19 via github-releases