Skip to content

Conversation

oleonardolima
Copy link
Contributor

@oleonardolima oleonardolima commented Oct 2, 2025

fixes #2009

Description

It bumps the project MSRV to 1.85.0, as the latest Debian trixie release establishes that as stable, see: https://tracker.debian.org/pkg/rustc.

This PR does:

  • update all references to the previous 1.63.0 MSRV.
  • update the rust-version to 1.85.0.
  • update the CI to not exclude bdk_electrum anymore.
  • update the ci/pin-msrv.sh to 1.85.0.

Notes to the reviewers

Should we update something in the GitHub repository configuration to get rid of old mandatory CI jobs ?

Changelog notice

### Changed

- Update all references to the previous 1.63.0 MSRV.
- Update the rust-version to 1.85.0.
- Update the CI to not exclude `bdk_electrum` anymore.
- Update the ci/pin-msrv.sh to 1.85.0.

Checklists

All Submissions:

@oleonardolima oleonardolima force-pushed the chore/bump-msrv-to-1.85.0 branch from b04bbed to b6e75cb Compare October 2, 2025 04:53
@oleonardolima oleonardolima marked this pull request as ready for review October 2, 2025 05:14
@oleonardolima oleonardolima self-assigned this Oct 2, 2025
@oleonardolima oleonardolima added chore Non-coding related work github_actions Pull requests that update GitHub Actions code labels Oct 2, 2025
@oleonardolima oleonardolima moved this to Needs Review in BDK Chain Oct 2, 2025
Copy link
Member

@evanlinjin evanlinjin left a comment

Choose a reason for hiding this comment

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

ACK b6e75cb

Ran cargo test --all-features with:

❯ cargo --version
cargo 1.85.0 (d73d2caf9 2024-12-31)

@oleonardolima oleonardolima force-pushed the chore/bump-msrv-to-1.85.0 branch 2 times, most recently from 8bb3255 to 93c2172 Compare October 8, 2025 00:08
@oleonardolima oleonardolima force-pushed the chore/bump-msrv-to-1.85.0 branch 2 times, most recently from 3e626f3 to adc99e7 Compare October 8, 2025 00:22
@oleonardolima
Copy link
Contributor Author

I've added new commits bumping the criterion version and updating the toolchain action to match the one used in bdk_wallet.

Still need to debug the CI failure now.

@oleonardolima
Copy link
Contributor Author

oleonardolima commented Oct 8, 2025

Still need to debug the CI failure now.

So, IIUC we can't have no-std for bdk_electrum, because we're using both Arc and Mutex from std::sync. I'm wondering why it didn't failed before 🤔.

Scratch that, I didn't notice it was only in the test module.

@oleonardolima oleonardolima force-pushed the chore/bump-msrv-to-1.85.0 branch from adc99e7 to b4f3c30 Compare October 8, 2025 00:48
- update all references to previous 1.63.0 MSRV.
- update the rust-version to 1.85.0.
- update the CI to not exclude bdk_electrum anymore.
- update the ci/pin-msrv.sh to 1.85.0.
- use `is_non_or` instead of `map_or`
- update lifetime on `find_direct_anchor`
@oleonardolima oleonardolima force-pushed the chore/bump-msrv-to-1.85.0 branch from b4f3c30 to 0f5ac52 Compare October 8, 2025 00:48
@notmandatory
Copy link
Member

cACK, will do a deeper review when I get a chance but don't wait for me if you think it's ready to go.

Copy link
Collaborator

@ValuedMammal ValuedMammal left a comment

Choose a reason for hiding this comment

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

ACK 0f5ac52

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Non-coding related work github_actions Pull requests that update GitHub Actions code
Projects
Status: Needs Review
Development

Successfully merging this pull request may close these issues.

Update MSRV to 1.85
4 participants