Skip to content

Increase the MSRV from 1.63 to 1.65#1594

Open
xtqqczze wants to merge 6 commits intobytecodealliance:mainfrom
xtqqczze:msrv
Open

Increase the MSRV from 1.63 to 1.65#1594
xtqqczze wants to merge 6 commits intobytecodealliance:mainfrom
xtqqczze:msrv

Conversation

@xtqqczze
Copy link
Copy Markdown
Contributor

@xtqqczze xtqqczze commented Mar 14, 2026

Closes #1607 (libc bumped MSRV to 1.65)

  • Replace some runtime panics with compile-time assertions
  • Disable targets that now fail these assertions
  • Consolidate duplicated FFI re-exports

@xtqqczze

This comment was marked as outdated.

@xtqqczze xtqqczze force-pushed the msrv branch 4 times, most recently from 314bb85 to 6af881f Compare April 24, 2026 19:10
@xtqqczze xtqqczze changed the title Increase the MSRV from 1.63 to 1.65 [NOMERGE]Increase the MSRV from 1.63 to 1.65 Apr 24, 2026
@xtqqczze xtqqczze force-pushed the msrv branch 5 times, most recently from 6293781 to 479a020 Compare April 25, 2026 01:57
@xtqqczze xtqqczze changed the title [NOMERGE]Increase the MSRV from 1.63 to 1.65 Increase the MSRV from 1.63 to 1.65 Apr 25, 2026
@xtqqczze xtqqczze marked this pull request as ready for review April 25, 2026 11:32
Copy link
Copy Markdown
Member

@sunfishcode sunfishcode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for putting this together! Overall this looks good, with just a few minor comments below:

Comment thread README.md Outdated
The current policy is that the minimum Rust version required to use this crate
may be increased in minor releases.

In general, this crate will not increase the minimum supported version of Rust
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't wish to make a commitment to supporting the version in Debian stable, even qualified with "in general". Perhaps it'd be best to just remove this sentence about Debian stable.

Comment thread src/lib.rs
#[cfg(all(test, not(static_assertions)))]
#[macro_use]
#[allow(unused_imports)]
mod static_assertions;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With the polyfill removed, we can remove the explicit extern crate too.

@xtqqczze xtqqczze force-pushed the msrv branch 2 times, most recently from 3874b46 to d6a9321 Compare May 2, 2026 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ci: build broken due to libc MSRV bump

2 participants