Skip to content

fix: CI failure on nightly due to deprecated std::usize and std::u32 use - #932

Merged
seanmonstar merged 1 commit into
hyperium:masterfrom
ArniDagur:fix/deprecated-numeric-constants
Aug 8, 2026
Merged

fix: CI failure on nightly due to deprecated std::usize and std::u32 use#932
seanmonstar merged 1 commit into
hyperium:masterfrom
ArniDagur:fix/deprecated-numeric-constants

Conversation

@ArniDagur

@ArniDagur ArniDagur commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

This fixes unrelated CI failures in #930 and #931

Problem

Recent Rust toolchains deprecate the std::usize and std::u32 modules. The test suite fails to compile when CI promotes deprecation warnings to errors.

Solution

Use primitive associated constants directly and remove the deprecated std::usize module import.

Validation

Checked all h2-tests targets with warnings denied.
@seanmonstar
seanmonstar merged commit 8fea6b2 into hyperium:master Aug 8, 2026
6 checks passed
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.

2 participants