Skip to content

Bump MSRV to 1.74 & Drop const_new and arch_legacy#48

Merged
taiki-e merged 2 commits intomainfrom
drop-legacy
Sep 5, 2025
Merged

Bump MSRV to 1.74 & Drop const_new and arch_legacy#48
taiki-e merged 2 commits intomainfrom
drop-legacy

Conversation

@taiki-e
Copy link
Owner

@taiki-e taiki-e commented Sep 5, 2025

This increases the minimum supported Rust version (MSRV) from Rust 1.59 to Rust 1.74, and drops the following two that are no longer necessary.

  • Remove AtomicMaybeUninit::const_new because AtomicMaybeUninit::new is now always const fn because of the MSRV bump.

  • Remove legacy inefficient implementation for pre-1.74 Rust which doesn't support MaybeUninit registers in asm!.

Note: removing const_new is a breaking change.
UPDATE: removal of const_new has been reverted in d428f97, and const_new is now marked as deprecated.

@taiki-e taiki-e added O-arm Target: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 state O-riscv Target: RISC-V architecture O-x86 Target: x86/x64 processors O-loongarch Target: LoongArch O-aarch64 Target: Armv8-A, Armv8-R, or later processors in AArch64 mode labels Sep 5, 2025
@taiki-e taiki-e merged commit 6f3ac4c into main Sep 5, 2025
103 checks passed
@taiki-e taiki-e deleted the drop-legacy branch September 5, 2025 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

O-aarch64 Target: Armv8-A, Armv8-R, or later processors in AArch64 mode O-arm Target: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 state O-loongarch Target: LoongArch O-riscv Target: RISC-V architecture O-x86 Target: x86/x64 processors

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant