Skip to content

Upgrade to Rust 1.88#584

Merged
alevy merged 4 commits intomasterfrom
feature/upgrade/rust-1.88
Sep 13, 2025
Merged

Upgrade to Rust 1.88#584
alevy merged 4 commits intomasterfrom
feature/upgrade/rust-1.88

Conversation

@alevy
Copy link
Member

@alevy alevy commented Sep 12, 2025

This PR updates the rust-toolchain to 1.88 stable.

Individual commits should make for easy review:

  1. 06846f3 adds rust-analyzer to the rust-toolchain.toml file (OK, this isn't striclty related but it basically helps keep IDE using the same Rust as the command line).
  2. 1948c74 Bumps the Rust version in rust-toolchain.toml
  3. a9f3d20 Mechanically fix new clippy lints and format using automated calls to cargo clippy and cargo fmt.

@alevy alevy force-pushed the feature/upgrade/rust-1.88 branch from a0bd1a2 to 5e2941f Compare September 12, 2025 18:09
let pan: u16 = 0xcafe;
let addr_short: u16 = 0xdead;
let addr_long: u64 = 0xdead_dad;
let addr_long: u64 = 0xdeaddad;
Copy link
Member

Choose a reason for hiding this comment

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

weird change, but whatever (maybe because the break wasn't on a byte it removed it? I'll agree, that's a bit misleading)

Copy link
Contributor

Choose a reason for hiding this comment

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

But ieee802154_rx_tx.rs has the same pattern, which wasn't changed.

let addr_long: u64 = 0xdead_dad;

Copy link
Member Author

Choose a reason for hiding this comment

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

Clippy complains about it variously (it's not easy/possible to run clippy once on the all crates in this repos, so I caught some but not others, and enough to get make test to quite down).

Indeed, it doesn't like that it's not on a byte boundary. It suggested 0x0dea_ddad which I thought was worse than just combining them.

@alevy alevy added this pull request to the merge queue Sep 13, 2025
Merged via the queue into master with commit 2e8c823 Sep 13, 2025
3 checks passed
@alevy alevy deleted the feature/upgrade/rust-1.88 branch September 13, 2025 03:59
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.

3 participants