Opened 12 months ago

Closed 12 months ago

Last modified 9 months ago

#17965 closed enhancement (fixed)

rustc-1.69.0

Reported by: Bruce Dubbs Owned by: Bruce Dubbs
Priority: normal Milestone: 12.0
Component: BOOK Version: git
Severity: normal Keywords:
Cc:

Description

New minor version.

Change History (4)

comment:1 by Bruce Dubbs, 12 months ago

Version 1.69.0 (2023-04-20) Language

  • [Deriving built-in traits on packed structs works with Copy fields.]
  • [Stabilize the cmpxchg16b target feature on x86 and x86_64.]
  • [Improve analysis of trait bounds for associated types.]
  • [Allow associated types to be used as union fields.]
  • [Allow Self: Autotrait bounds on dyn-safe trait methods.]
  • [Treat str as containing [u8] for auto trait purposes.]

Compiler

  • [Upgrade *-pc-windows-gnu on CI to mingw-w64 v10 and GCC 12.2.]
  • [Rework min_choice algorithm of member constraints.]
  • [Support true and false as boolean flags in compiler arguments.]
  • [Default repr(C) enums to c_int size.]

Libraries

  • [Implement the unstable DispatchFromDyn for cell types, allowing downstream experimentation with custom method receivers.]
  • [Document that fmt::Arguments::as_str() may return Some(_) in more cases after optimization, subject to change.]
  • [Implement AsFd and AsRawFd for Rc.]

Stabilized APIs

  • [CStr::from_bytes_until_nul]
  • [core::ffi::FromBytesUntilNulError]

These APIs are now stable in const contexts:

  • [SocketAddr::new]
  • [SocketAddr::ip]
  • [SocketAddr::port]
  • [SocketAddr::is_ipv4]
  • [SocketAddr::is_ipv6]
  • [SocketAddrV4::new]
  • [SocketAddrV4::ip]
  • [SocketAddrV4::port]
  • [SocketAddrV6::new]
  • [SocketAddrV6::ip]
  • [SocketAddrV6::port]
  • [SocketAddrV6::flowinfo]
  • [SocketAddrV6::scope_id]

Cargo

  • [Cargo now suggests cargo fix or cargo clippy --fix when compilation warnings are auto-fixable.]
  • [Cargo now suggests cargo add if you try to install a library crate.]
  • [Cargo now sets the CARGO_BIN_NAME environment variable also for binary examples.]

Rustdoc

  • [Vertically compact trait bound formatting.]
  • [Only include stable lints in rustdoc::all group.]
  • [Compute maximum Levenshtein distance based on the query.]
  • [Remove inconsistently-present sidebar tooltips.]
  • [Search by macro when query ends with !.]

Compatibility Notes

  • [The rust-analysis component from rustup now only contains a warning placeholder.]
  • [Unaligned references to packed fields are now a hard error.]
  • [Update the minimum external LLVM to 14.]
  • [Cargo now emits errors on invalid characters in a registry token.]
  • [When default-features is set to false of a workspace dependency, and an inherited dependency of a member has default-features = true, Cargo will enable default features of that dependency.]
  • [Cargo denies CARGO_HOME in the [env] configuration table. Cargo itself doesn't pick up this value, but recursive calls to cargo would, which was not intended.]
  • [Debuginfo for build dependencies is now off if not explicitly set. This is expected to improve the overall build time.]

Internal Changes

These changes do not affect any public interfaces of Rust, but they represent significant improvements to the performance or internals of rustc and related tools.

  • [Move format_args!() into AST (and expand it during AST lowering)]

comment:2 by Bruce Dubbs, 12 months ago

Owner: changed from blfs-book to Bruce Dubbs
Status: newassigned

comment:3 by Bruce Dubbs, 12 months ago

Resolution: fixed
Status: assignedclosed

Fixed at commits

b36f7378cf Update to numpy-1.24.3 (Python module).
320d985bc3 Update to rustc-1.69.0.

comment:4 by Bruce Dubbs, 9 months ago

Milestone: 11.412.0

Milestone renamed

Note: See TracTickets for help on using tickets.