Opened 7 months ago

Closed 7 months ago

#18613 closed enhancement (fixed)

rustc-1.73.0

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

Description (last modified by Xi Ruoyao)

New minor version.

Change History (8)

comment:2 by Xi Ruoyao, 7 months ago

The sed for 1.72.0 with LLVM 17 still applies.

comment:3 by Xi Ruoyao, 7 months ago

Description: modified (diff)
Summary: rustc-1.72.1rustc-1.73.0

Now 1.73.0.

comment:4 by Xi Ruoyao, 7 months ago

With 1.73.0:

  • The two sed commands for LLVM 17 should be removed.
  • The mkdir -pv .github/workflows && python3 x.py run ... command can be removed from test instruction.
  • The only test failure is tests/ui/issues/issue-21763.rs.

comment:5 by Xi Ruoyao, 7 months ago

Owner: changed from blfs-book to Xi Ruoyao
Status: newassigned

I'm testing Firefox and Thunderbird with it.

comment:6 by Xi Ruoyao, 7 months ago

Language

  • Uplift clippy::fn_null_check lint as useless_ptr_null_checks.
  • Make noop_method_call warn by default.
  • Support interpolated block for try and async in macros.
  • Make unconditional_recursion lint detect recursive drops.
  • Future compatibility warning for some impls being incorrectly considered not overlapping.
  • The invalid_reference_casting lint is now deny-by-default (instead of allow-by-default)

Compiler

  • Write version information in a .comment section like GCC/Clang.
  • Add documentation on v0 symbol mangling.
  • Stabilize extern "thiscall" and "thiscall-unwind" ABIs.
  • Only check outlives goals on impl compared to trait.
  • Infer type in irrefutable slice patterns with fixed length as array.
  • Discard default auto trait impls if explicit ones exist.
  • Add several new tier 3 targets:
    • aarch64-unknown-teeos
    • csky-unknown-linux-gnuabiv2
    • riscv64-linux-android
    • riscv64gc-unknown-hermit
    • x86_64-unikraft-linux-musl
    • x86_64-unknown-linux-ohos
  • Add wasm32-wasi-preview1-threads as a tier 2 target.

Refer to Rust's platform support page for more information on Rust's tiered platform support.

Libraries

  • Add Read, Write and Seek impls for Arc<File>.
  • Merge functionality of io::Sink into io::Empty.
  • Implement RefUnwindSafe for Backtrace
  • Make ExitStatus implement Default
  • impl SliceIndex<str> for (Bound<usize>, Bound<usize>)
  • Change default panic handler message format.
  • Cleaner assert_eq! & assert_ne! panic messages.
  • Correct the (deprecated) Android stat struct definitions.

Stabilized APIs

  • Unsigned {integer}::div_ceil
  • Unsigned {integer}::next_multiple_of
  • Unsigned {integer}::checked_next_multiple_of
  • std::ffi::FromBytesUntilNulError
  • std::os::unix::fs::chown
  • std::os::unix::fs::fchown
  • std::os::unix::fs::lchown
  • LocalKey::<Cell<T>>::get
  • LocalKey::<Cell<T>>::set
  • LocalKey::<Cell<T>>::take
  • LocalKey::<Cell<T>>::replace
  • LocalKey::<RefCell<T>>::with_borrow
  • LocalKey::<RefCell<T>>::with_borrow_mut
  • LocalKey::<RefCell<T>>::set
  • LocalKey::<RefCell<T>>::take
  • LocalKey::<RefCell<T>>::replace
  • These APIs are now stable in const contexts:
    • rc::Weak::new
    • sync::Weak::new
    • NonNull::as_ref

Cargo

  • Encode URL params correctly for SourceId in Cargo.lock.
  • Bail out an error when using cargo:: in custom build script.

Misc

(empty)

Compatibility Notes

  • Update the minimum external LLVM to 15.
  • Check for non-defining uses of return position impl Trait.

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.

  • Remove LLVM pointee types, supporting only opaque pointers.
  • Port PGO/LTO/BOLT optimized build pipeline to Rust.
  • Replace in-tree rustc_apfloat with the new version of the crate.
  • Update to LLVM 17.
  • Add internal_features lint for internal unstable features.
  • Mention style for new syntax in tracking issue template.

comment:7 by Xi Ruoyao, 7 months ago

comment:8 by Xi Ruoyao, 7 months ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.