Skip to content

Use getrandom 0.4, bumping MSRV to 1.85.#2756

Open
briansmith wants to merge 2 commits intomainfrom
b/getrandom-0.4
Open

Use getrandom 0.4, bumping MSRV to 1.85.#2756
briansmith wants to merge 2 commits intomainfrom
b/getrandom-0.4

Conversation

@briansmith
Copy link
Owner

No description provided.

@briansmith briansmith self-assigned this Feb 11, 2026
@codecov
Copy link

codecov bot commented Feb 11, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.62%. Comparing base (0e8ece4) to head (5bf9369).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2756      +/-   ##
==========================================
- Coverage   96.64%   96.62%   -0.03%     
==========================================
  Files         201      201              
  Lines       20440    20444       +4     
  Branches      525      525              
==========================================
- Hits        19754    19753       -1     
- Misses        570      574       +4     
- Partials      116      117       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@briansmith briansmith force-pushed the b/getrandom-0.4 branch 3 times, most recently from fe86f46 to dc5efe7 Compare February 11, 2026 23:58
@briansmith briansmith changed the title Use getrandom 0.4, bumping MSRV to 1.85 and edition to Rust 2024. Use getrandom 0.4, bumping MSRV to 1.85. Feb 11, 2026
@briansmith
Copy link
Owner Author

Rust 2024 changes will be done in a separate PR.

@briansmith
Copy link
Owner Author

The "1.85" MSRV tests in CI need to be updated to use the MSRV-aware resolver, I guess, as otherwise an indirect downstream dependency requires 1.87.

@briansmith briansmith force-pushed the b/getrandom-0.4 branch 9 times, most recently from 52f7512 to 7c24aea Compare February 12, 2026 21:43
getrandom 0.4.1 seems to have implemented good enough support with its
wasm_js feature to make it usable as an alternative to getrandom 0.2.

getrandom 0.4 raised its MSRV to 1.85, so raise ours to MSRV 1.85.
getrandom 0.4 has dependencies with MSRV 1.87 or later, so we *must
use `incompatible-rust-versions = "fallback"` during MSRV testing, at
least for wasm32-wasip2.

Rust 1.84 (and getrandom 0.3) dropped support for the old wasm32-wasi
target, and won't build for that target, so stop supporting it.

Deal with MSRV.
@briansmith briansmith force-pushed the b/getrandom-0.4 branch 2 times, most recently from f1c46e4 to affe555 Compare February 13, 2026 00: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.

1 participant