Skip to content

Comments

ci: update for yocto whinlatter release and update actions#103

Merged
hnez merged 10 commits intolinux-automation:mainfrom
hnez:rust-whinlatter
Feb 20, 2026
Merged

ci: update for yocto whinlatter release and update actions#103
hnez merged 10 commits intolinux-automation:mainfrom
hnez:rust-whinlatter

Conversation

@hnez
Copy link
Member

@hnez hnez commented Dec 5, 2025

Just so we do not fall behind.

hnez added 7 commits February 19, 2026 17:57
Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
This is, as of now, the newest nodejs version that comes pre-cached on the
GitHub ubuntu-latest images.

Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
We have moved on to whinlatter now.

Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
We have moved on to whinlatter now.

Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
This is inspired by a recently added clippy lint:

   error: manual implementation of `.is_multiple_of()`
     --> src/dut_power.rs:248:16
      |
  248 |             if N % 2 == 0 {
      |                ^^^^^^^^^^ help: replace with: `N.is_multiple_of(2)`
      |
      = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_multiple_of
      = note: `-D clippy::manual-is-multiple-of` implied by `-D warnings`
      = help: to override `-D warnings` add `#[allow(clippy::manual_is_multiple_of)]`

  error: manual implementation of `.is_multiple_of()`
     --> src/ui/screens/diagnostics.rs:256:26
      |
  256 |                 let on = self.led_cycle_state % 2 != 0;
      |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `!self.led_cycle_state.is_multiple_of(2)`
      |
      = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_multiple_of

This change has become possible since we removed support for the rustc in
yocto walnascar, which did not have x.is_multiple_of(N).

Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
@hnez
Copy link
Member Author

hnez commented Feb 19, 2026

We have switched to whinlatter for meta-lxatac now.

I have included the change from #101 here, so this closes #101.

It looks like I need a new approval. Maybe @SmithChart can help out?

…ustc

Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
hnez added 2 commits February 20, 2026 07:18
This change was suggested by `cargo deny` and fixes an integer overflow in
the bytes crate[1].

[1]: https://rustsec.org/advisories/RUSTSEC-2026-0007

Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
Cargo deny calls have started notifying us about this advisory not being
relevant to us anymore, so we can stop ignoring it.

Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
Copy link
Member

@SmithChart SmithChart left a comment

Choose a reason for hiding this comment

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

Thanks for all the upgrades! Looks good to me.

(The .is_multiple_of(2)-syntax really does look better!)

@hnez hnez merged commit 9427d8b into linux-automation:main Feb 20, 2026
14 checks passed
@hnez hnez deleted the rust-whinlatter branch February 20, 2026 07:25
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