Skip to content

Bump MSRV to 1.86#218

Merged
DJMcNab merged 3 commits into
linebender:mainfrom
DJMcNab:msrv-186
May 6, 2026
Merged

Bump MSRV to 1.86#218
DJMcNab merged 3 commits into
linebender:mainfrom
DJMcNab:msrv-186

Conversation

@DJMcNab

@DJMcNab DJMcNab commented May 6, 2026

Copy link
Copy Markdown
Member

This was released in April 2025, which is now more than a year ago. The reason I want this now is #217, but it
does also have user-facing improvements to constness.

I used Claude (Opus 4.6) to create the changelog entry.

DJMcNab added 3 commits May 6, 2026 10:24
This was released in April 2025, which is now more than a year ago.
The reason I want this now is linebender#217, but it
does also have user-facing improvements to constness.
Comment thread color/src/floatfuncs.rs
fn hypot(self, other: Self) -> Self => hypotf;
// Note: powi is missing because its libm implementation is not efficient
fn powf(self, n: Self) -> Self => powf;
fn round(self) -> Self => roundf;

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This change needs sanity-checking; the current code never uses the round() function, except in a test.

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.

Removing it looks good to me.

@waywardmonkeys

Copy link
Copy Markdown
Collaborator

This will require that Peniko bump MSRV from 1.85 to 1.86, but looking at what depends publicly on that, it doesn't seem like that's an issue. I don't see any big users of color that have a lower MSRV either although I didn't look exhaustively.

@DJMcNab DJMcNab added this pull request to the merge queue May 6, 2026
Merged via the queue into linebender:main with commit e978d8b May 6, 2026
16 checks passed
@DJMcNab DJMcNab deleted the msrv-186 branch May 6, 2026 08:15
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.

4 participants