Skip to content

chore: deny std imports when core is available - #108

Merged
3Hren merged 1 commit into
mainfrom
chore/deny-std-instead-of-core
Aug 24, 2026
Merged

chore: deny std imports when core is available#108
3Hren merged 1 commit into
mainfrom
chore/deny-std-instead-of-core

Conversation

@3Hren

@3Hren 3Hren commented Aug 24, 2026

Copy link
Copy Markdown
Member

Summary

  • pin the CI Clippy toolchain to 1.97.1, matching the last green main run and avoiding unreviewed lint drift from floating stable
  • deny Clippy's std_instead_of_core lint at the package level
  • use core::fmt::Write in the MAC-address benchmark

The lint was verified before fixing the existing import: the all-target Clippy command rejected use std::fmt::Write with clippy::std_instead_of_core.

Testing

  • cargo +1.97.1 clippy --all-targets -- -D warnings
  • cargo test
  • cargo check
  • cargo +1.88.0 check --lib --locked
  • cargo +nightly fmt --check
  • cargo build --lib --target thumbv7em-none-eabihf

@3Hren
3Hren force-pushed the chore/deny-std-instead-of-core branch from f2f00c8 to 9aa89ca Compare August 24, 2026 08:52
@3Hren
3Hren merged commit 666c55e into main Aug 24, 2026
6 checks passed
@3Hren
3Hren deleted the chore/deny-std-instead-of-core branch August 24, 2026 08:53
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